]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
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:03 +0000 (17:45 -0800)
committerGregory P. Smith <greg@krypto.org>
Tue, 11 Dec 2012 01:45:03 +0000 (17:45 -0800)
Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]

1  2 
Modules/_sre.c

diff --cc Modules/_sre.c
Simple merge