]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
authorGregory P. Smith <greg@krypto.org>
Tue, 11 Dec 2012 01:45:54 +0000 (17:45 -0800)
committerGregory P. Smith <greg@krypto.org>
Tue, 11 Dec 2012 01:45:54 +0000 (17:45 -0800)
commit64ab35e11d9e2ad55f8a9ee69515f8901e184b59
tree155f4ed7e32974b28743c795f4bcb3f21421db86
parent33b9b71e8dbddf081bd5e7dbf65166ca5d4d75c2
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.

Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]
Modules/_sre.c