]> 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 03:59:29 +0000 (19:59 -0800)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 03:59:29 +0000 (19:59 -0800)
commitf0b21e18d8398f010707c3c199f97d8466214dd6
tree07a285ef66b3f3f54c5060e3e3c27f0eb93cb705
parent3f9fe53c98978955fea4e36456c784694e6458a8
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