mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Clear data so random memory does not get freed. Will backport.
This commit is contained in:
parent
f3241a3727
commit
59f58aaeed
2 changed files with 3 additions and 0 deletions
|
@ -636,6 +636,8 @@ Library
|
|||
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
|
||||
|
|
|
@ -1731,6 +1731,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…
Add table
Add a link
Reference in a new issue