Backport rev 55450:
SF bug #1721309: Clear data so random memory does not get freed.
This commit is contained in:
parent
cf0fab2686
commit
f86ae691d3
|
@ -35,6 +35,12 @@ Library
|
|||
run in verbose mode.
|
||||
|
||||
|
||||
Extension Modules
|
||||
-----------------
|
||||
|
||||
- Bug #1721309: prevent bsddb module from freeing random memory.
|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
|
|
|
@ -1713,6 +1713,7 @@ DB_get_both(DBObject* self, PyObject* args, PyObject* kwargs)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
CLEAR_DBT(data);
|
||||
flags |= DB_GET_BOTH;
|
||||
|
||||
if (CHECK_DBFLAG(self, DB_THREAD)) {
|
||||
|
|
Loading…
Reference in New Issue