]> 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:16 +0000 (17:45 -0800)
committerGregory P. Smith <greg@krypto.org>
Tue, 11 Dec 2012 01:45:16 +0000 (17:45 -0800)
commit60112ae319c5d95e74dafe6c67c04d01f50d965a
tree237f40a2a256c08ba2ff8ce39f8a94ac71f15303
parent6c722c6df464f327784e34191ea43d79d7e99f94
parentc0dd80e439bff4bd7cd9acc34ae023b4e8adf4aa
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