[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

Stefan Krah report at bugs.python.org
Mon Aug 20 20:53:27 CEST 2012


Stefan Krah added the comment:

Bad news: gcc-4.6.3 needs the size_t cast, otherwise it warns with
both the assert() and the (argc < 0) version.

So I suggest using the size_t cast and a comment.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15736>
_______________________________________


More information about the Python-bugs-list mailing list