[issue27473] bytes_concat seems to check overflow using undefined behaviour

Martin Panter report at bugs.python.org
Sun Jul 10 04:18:44 EDT 2016


Martin Panter added the comment:

I changed the versions without checking first. Long story short: Objects/stringobject.c (Python 2 equivalent of Objects/bytesobject.c) is already fixed, but in all versions, Objects/bytearrayobject.c is apparently unfixed.

Python 2 was fixed as part of r65335. Python 3 was supposed to be fixed in r66009 (Issue 3627), but it looks like some of the fixes were missed.

----------

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


More information about the Python-bugs-list mailing list