[Python-checkins] r55451 - in python/branches/release25-maint: Misc/NEWS Modules/_bsddb.c

neal.norwitz python-checkins at python.org
Sat May 19 05:53:45 CEST 2007


Author: neal.norwitz
Date: Sat May 19 05:53:33 2007
New Revision: 55451

Modified:
   python/branches/release25-maint/Misc/NEWS
   python/branches/release25-maint/Modules/_bsddb.c
Log:
Backport rev 55450:
SF bug #1721309: Clear data so random memory does not get freed.


Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Sat May 19 05:53:33 2007
@@ -35,6 +35,12 @@
   run in verbose mode.
 
 
+Extension Modules
+-----------------
+
+- Bug #1721309: prevent bsddb module from freeing random memory.
+
+
 Documentation
 -------------
 

Modified: python/branches/release25-maint/Modules/_bsddb.c
==============================================================================
--- python/branches/release25-maint/Modules/_bsddb.c	(original)
+++ python/branches/release25-maint/Modules/_bsddb.c	Sat May 19 05:53:33 2007
@@ -1713,6 +1713,7 @@
         return NULL;
     }
 
+    CLEAR_DBT(data);
     flags |= DB_GET_BOTH;
 
     if (CHECK_DBFLAG(self, DB_THREAD)) {


More information about the Python-checkins mailing list