]> granicus.if.org Git - python/commit
Backport r62261 from trunk:
authorGregory P. Smith <greg@mad-scientist.com>
Wed, 9 Apr 2008 23:41:13 +0000 (23:41 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Wed, 9 Apr 2008 23:41:13 +0000 (23:41 +0000)
commit14acde30f634c1b52e498e29dd772c4fa9f41380
treeb630b6689e7b4e4f2e3ea92c7f40c1fb85b82d35
parent3782da4e0a0bec3def64eda045d76bd1943ccaf1
Backport r62261 from trunk:

Prevent PyString_FromStringAndSize() from passing negative sizes on to lower
level memory allocation functions.  Raise a SystemError and return NULL
instead.
Misc/NEWS
Objects/stringobject.c