Files
cpython/Python
Victor Stinner b14057877f bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) (GH-12332)
Fix an unlikely memory leak on conversion from string to float in the
function _Py_dg_strtod() used by float(str), complex(str),
pickle.load(), marshal.load(), etc.

Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label:
rewrite memory management in this function to always release all
memory before exiting the function. Initialize variables to NULL, and
set them to NULL after calling Bfree() at the "cont:" label.

Note: Bfree(NULL) is well defined: it does nothing.

(cherry picked from commit 9776b0636a)
2019-03-14 17:19:52 +01:00
..
2012-03-22 10:39:16 -04:00
2010-12-11 04:25:57 +00:00
2013-01-19 14:58:38 -05:00
2016-09-15 01:50:53 +00:00
2017-01-09 11:10:41 +01:00