]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Disable getc_unlocked() with MemorySanitizer. (GH-10499)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 13 Nov 2018 04:18:15 +0000 (20:18 -0800)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 04:18:15 +0000 (20:18 -0800)
commit41fdbaa3ea622c3f64d4ab8f70fc79d35729071a
treedde914ca67dc5270550a5233228fded1c2c7827e
parent3b5b1c0931cd32253bbf2f3bd74e90ff821e026e
Disable getc_unlocked() with MemorySanitizer. (GH-10499)

clang's MemorySanitizer understand getc() but does not understand
getc_unlocked().  Workaround: Don't use it on msan builds.
(cherry picked from commit e6c77d8301ec1703abb755a7d3ce5bd8c999c082)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Objects/fileobject.c