David Remahl <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2586>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to