diff options
| author | Gregory P. Smith <greg@mad-scientist.com> | 2008-04-09 23:41:13 (GMT) |
|---|---|---|
| committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-04-09 23:41:13 (GMT) |
| commit | 14acde30f634c1b52e498e29dd772c4fa9f41380 (patch) | |
| tree | b630b6689e7b4e4f2e3ea92c7f40c1fb85b82d35 /Python/mysnprintf.c | |
| parent | 3782da4e0a0bec3def64eda045d76bd1943ccaf1 (diff) | |
| download | cpython-14acde30f634c1b52e498e29dd772c4fa9f41380.zip cpython-14acde30f634c1b52e498e29dd772c4fa9f41380.tar.gz cpython-14acde30f634c1b52e498e29dd772c4fa9f41380.tar.bz2 | |
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.
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions
