[issue15144] Possible integer overflow in operations with addresses and sizes.

Mark Dickinson report at bugs.python.org
Sat Jul 7 12:14:26 CEST 2012


Mark Dickinson <dickinsm at gmail.com> added the comment:

N.B. This could probably be fixed without affecting performance by using the usual union trick.  (IIUC, that trick was technically still undefined behaviour for a while, but was eventually made legal by C99 + TC3.)  As far as I know there aren't any instances of compilers causing problems with that construct.

----------

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


More information about the Python-bugs-list mailing list