- 11 Sep, 2012 16 commits
-
-
Christian Heimes authored
-
R David Murray authored
-
R David Murray authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Christian Heimes authored
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
-
Christian Heimes authored
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
-
Christian Heimes authored
Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening.
-
Christian Heimes authored
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
-
Christian Heimes authored
-
Christian Heimes authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
R David Murray authored
-
Jesus Cea authored
-
Jesus Cea authored
-
- 10 Sep, 2012 24 commits
-
-
Jesus Cea authored
MERGE: #15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
-
Jesus Cea authored
-
Jesus Cea authored
-
Jesus Cea authored
-
Jesus Cea authored
-
Jesus Cea authored
-
Stefan Krah authored
constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).
-
Christian Heimes authored
Fixed reference leak in error branch of _bufferedreader_read_all(). The variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364
-
Christian Heimes authored
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_qualname returns NULL. CID 715371
-
Christian Heimes authored
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
-
Christian Heimes authored
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.
-
Christian Heimes authored
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.
-
R David Murray authored
Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
-
R David Murray authored
Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
-
R David Murray authored
-
Christian Heimes authored
-
doko@ubuntu.com authored
changeset: 77827:c23b442b5d5e user: Antoine Pitrou <solipsis@pitrou.net> date: Thu Jun 28 01:20:26 2012 +0200 summary: Avoid using scrdir, it's broken. changeset: 77826:f0e58e778215 user: Neil Schemenauer <nas@arctrix.com> date: Wed Jun 27 15:58:37 2012 -0600 summary: Fix bug in test_tools that prevented building is separate directory.
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte
-
Christian Heimes authored
-