[Python-checkins] r55450 - in python/trunk: Misc/NEWS Modules/_bsddb.c
neal.norwitz
python-checkins at python.org
Sat May 19 05:48:56 CEST 2007
Author: neal.norwitz
Date: Sat May 19 05:48:47 2007
New Revision: 55450
Modified:
python/trunk/Misc/NEWS
python/trunk/Modules/_bsddb.c
Log:
Clear data so random memory does not get freed. Will backport.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sat May 19 05:48:47 2007
@@ -636,6 +636,8 @@
Extension Modules
-----------------
+- Bug #1721309: prevent bsddb module from freeing random memory.
+
- Bug #1686475: Support stat'ing open files on Windows again.
- Patch #1185447: binascii.b2a_qp() now correctly quotes binary characters
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Sat May 19 05:48:47 2007
@@ -1731,6 +1731,7 @@
return NULL;
}
+ CLEAR_DBT(data);
flags |= DB_GET_BOTH;
if (CHECK_DBFLAG(self, DB_THREAD)) {
More information about the Python-checkins
mailing list