Changes by david db.pub.m...@gmail.com:
--
title: Erroneous Size check in - Erroneous Size check in _PyString_Resize
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13334
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Let's take an example: on a 32bit system, call
_PyString_Resize(s, 0x7ff8)
Then PyStringObject_SIZE + newsize is something like -0x7ff8 (yes, it wraps
around and is a negative number)
But when cast to an unsigned size_t
david db.pub.m...@gmail.com added the comment:
Yes my bad :-) I got my C test case wrong.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13334
___
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13334
___
___