<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/obmalloc.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/obmalloc.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/obmalloc.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-07-28T05:22:45Z</updated>
<entry>
<title>Backport r65182.  This change modified from using the unsigned max value</title>
<updated>2008-07-28T05:22:45Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2008-07-28T05:22:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46b3a79459934a09eaf00caf7e36b20717afc09f'/>
<id>urn:sha1:46b3a79459934a09eaf00caf7e36b20717afc09f</id>
<content type='text'>
to the signed max value similar to 2.5 and trunk.

Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2005-07-11T05:57:11Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-11T05:57:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b3d587184cd082d254e031eb799b66caad3fff8b'/>
<id>urn:sha1:b3d587184cd082d254e031eb799b66caad3fff8b</id>
<content type='text'>
SF bug 1185883:  PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM.  Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
</content>
</entry>
<entry>
<title>whoops, I wanted that commented out by default, will add doc to Misc</title>
<updated>2004-06-06T19:21:34Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-06-06T19:21:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5d7702e5c8904be43c068825f5e2a5c35082e86'/>
<id>urn:sha1:b5d7702e5c8904be43c068825f5e2a5c35082e86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug 881641, make it easier to use valgrind</title>
<updated>2004-06-06T19:20:22Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-06-06T19:20:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7eb3c9196da5be52a670d6d8dd24939a3c27b594'/>
<id>urn:sha1:7eb3c9196da5be52a670d6d8dd24939a3c27b594</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-06-17T15:48:11Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-06-17T15:48:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0a1bb6341ea87d811947c84dcce3d84147a93fd'/>
<id>urn:sha1:e0a1bb6341ea87d811947c84dcce3d84147a93fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove MALLOC_ZERO_RETURNS_NULL.</title>
<updated>2002-11-23T09:13:40Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-11-23T09:13:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=39f59b089dde8c4badaa510dd47d6d93d5eaed3d'/>
<id>urn:sha1:39f59b089dde8c4badaa510dd47d6d93d5eaed3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #627105: Document that SYSTEM_PAGE_SIZE really should not be</title>
<updated>2002-10-26T15:01:53Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-10-26T15:01:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c1402869ba0cb0a690a5168ac4067483d39e02e'/>
<id>urn:sha1:8c1402869ba0cb0a690a5168ac4067483d39e02e</id>
<content type='text'>
larger than the system page size.
</content>
</entry>
<entry>
<title>Fix warnings on 64-bit platforms about casts from pointers to ints.</title>
<updated>2002-09-12T14:43:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-12T14:43:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=efc1188239bf4381b7749d2f43836bbb216cfc44'/>
<id>urn:sha1:efc1188239bf4381b7749d2f43836bbb216cfc44</id>
<content type='text'>
Two of these were real bugs.
</content>
</entry>
<entry>
<title>Remove extraneous semicolon.</title>
<updated>2002-07-18T18:49:52Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-18T18:49:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1fedb6ab59547f914a1958804a0658b68e4d6b2'/>
<id>urn:sha1:d1fedb6ab59547f914a1958804a0658b68e4d6b2</id>
<content type='text'>
(Silences compiler warning for Compaq C++ 6.5 on Tru64.)
</content>
</entry>
<entry>
<title>Documented PYMALLOC_DEBUG.  This completes primary coverage of all the</title>
<updated>2002-07-10T19:29:49Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-10T19:29:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=889f61dcfbdccf4d1de7da354ee6165e488e4665'/>
<id>urn:sha1:889f61dcfbdccf4d1de7da354ee6165e488e4665</id>
<content type='text'>
"special builds" I ever use.  If you use others, document them here, or
don't be surprised if I rip out the code for them &lt;0.5 wink&gt;.
</content>
</entry>
</feed>
