]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
closes bpo-35204: Disable thread and memory sanitizers for address_in_range(). (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Nov 2018 23:44:34 +0000 (15:44 -0800)
committerGitHub <noreply@github.com>
Sun, 11 Nov 2018 23:44:34 +0000 (15:44 -0800)
commit1ec5781a097f4d4d988e0dd7f51ee203dc639df2
tree49cdd3fbb34cb872e51d9af3dc64b746f23234d4
parent7d7ff672dfe93a50053166798cdc0fbc86ea63e3
closes bpo-35204: Disable thread and memory sanitizers for address_in_range(). (GH-10442)

This function may access memory which is mapped but is considered
free by libc allocator. It behaves so by design, therefore we
need to suppress sanitizer reports.

GCC doesn't support MSan, so disable only TSan for it.
(cherry picked from commit fd3a91cbf93dd7bd97f01add9c90075d63cd7316)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Objects/obmalloc.c