[issue2586] Integer signedness bugs in zlib modules

David Remahl report at bugs.python.org
Thu Apr 10 19:17:29 CEST 2008


David Remahl <chmod007 at users.sourceforge.net> added the comment:

I submit that a check for negative values (non-assert-based) should be 
added to PyString_FromStringAndSize(). This API is called from many, many 
places, and in several cases the operand could probably be negative. It 
should raise an overflow exception for a negative value.

----------
nosy: +chmod007

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2586>
__________________________________


More information about the Python-bugs-list mailing list