<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects, 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?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-12-13T13:20:46Z</updated>
<entry>
<title>Backported r55839 and r61350</title>
<updated>2008-12-13T13:20:46Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-12-13T13:20:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9b8de84a89601b24bbff56c33b2a4581cfa8c72a'/>
<id>urn:sha1:9b8de84a89601b24bbff56c33b2a4581cfa8c72a</id>
<content type='text'>
Issue #4469: Prevent expandtabs() on string and unicode
objects from causing a segfault when a large width is passed
on 32-bit platforms.
</content>
</entry>
<entry>
<title>backport the security fix part of r67246</title>
<updated>2008-11-17T23:27:02Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-11-17T23:27:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38ce9c294b00a615f78b8f03ff2cc60fdf0fc7c2'/>
<id>urn:sha1:38ce9c294b00a615f78b8f03ff2cc60fdf0fc7c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Issue #2587: In the C API, PyString_FromStringAndSize() takes a signed size</title>
<updated>2008-11-12T07:21:52Z</updated>
<author>
<name>Matthias Klose</name>
<email>doko@ubuntu.com</email>
</author>
<published>2008-11-12T07:21:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b7cfda132406bd0a4f626610657fd9b1e0e63f65'/>
<id>urn:sha1:b7cfda132406bd0a4f626610657fd9b1e0e63f65</id>
<content type='text'>
  parameter but was not verifying that it was greater than zero.  Values
  less than zero will now raise a SystemError and return NULL to indicate a
  bug in the calling C code. CVE-2008-1887.

  backport r62261, r62271
</content>
</entry>
<entry>
<title>Security patches from Apple:  prevent int overflow when allocating memory</title>
<updated>2008-07-31T17:04:32Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2008-07-31T17:04:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b93d7d52b5f0b91fe36615fae417e6f15e6b95a3'/>
<id>urn:sha1:b93d7d52b5f0b91fe36615fae417e6f15e6b95a3</id>
<content type='text'>
</content>
</entry>
<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 of r60793:</title>
<updated>2008-03-02T19:20:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-03-02T19:20:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8ed4ff565d527dfb4449a9a8473c0f8424a071f'/>
<id>urn:sha1:c8ed4ff565d527dfb4449a9a8473c0f8424a071f</id>
<content type='text'>
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</content>
</entry>
<entry>
<title>Backport trunk revision 53527:</title>
<updated>2007-01-23T15:09:19Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2007-01-23T15:09:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e42ab6e434044fdfcdc99b5b631ed972825a92c'/>
<id>urn:sha1:1e42ab6e434044fdfcdc99b5b631ed972825a92c</id>
<content type='text'>
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize

When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.

This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)
</content>
</entry>
<entry>
<title>Backport rev 51262 from trunk -- squashes a compiler warning on Windows</title>
<updated>2006-10-09T23:37:58Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-10-09T23:37:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0af9b87953a450145a1557fc93fa4a82463263b1'/>
<id>urn:sha1:0af9b87953a450145a1557fc93fa4a82463263b1</id>
<content type='text'>
about truly wrong code.

Checkin comment from 51262:

Can't return NULL from a void function.  If there is a memory error,
about the best we can do is call PyErr_WriteUnraisable and go on.
We won't be able to do the call below either, so verify delstr is valid.
</content>
</entry>
<entry>
<title>Backport of the pieces of trunk rev 46589 relevant to</title>
<updated>2006-10-09T20:24:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-10-09T20:24:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b37ea40871ec45cb1fb6d98a2696bcaf4cf6583'/>
<id>urn:sha1:2b37ea40871ec45cb1fb6d98a2696bcaf4cf6583</id>
<content type='text'>
fixing an unlikely crash bug in dict resizing, SF
bug 1456209.

The rest of rev 46589 changes whether Python suppresses
exceptions during some dict-related comparisons.  While I
think that's a good idea, it does change visible behavior at
times, and there was already some complaining about that on
the trunk.  Not a good idea for backporting.  The part of
46589 checked in here can at worst stop segfaults, and I doubt
anyone will gripe about that ;-)
</content>
</entry>
<entry>
<title>[Partial backport of r45947 | neal.norwitz]</title>
<updated>2006-10-09T18:42:49Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-09T18:42:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2fafa251dba5df1f90326a825ac6de2b6b906bc3'/>
<id>urn:sha1:2fafa251dba5df1f90326a825ac6de2b6b906bc3</id>
<content type='text'>
Fix problems found by Coverity.

longobject.c: also fix an ssize_t problem
  &lt;a&gt; could have been NULL, so hoist the size calc to not use &lt;a&gt;.

[The ssize_t change isn't needed for 2.4.  The other changes in this revision
 are to modules not present in 2.4. --amk]
</content>
</entry>
</feed>
