From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:09:35 +0000 (-0700) Subject: [3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) ... X-Git-Tag: v3.12.1~468^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62d9ae414f1a9f8335c04e8c73571527eabc5085;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) (#109578) Co-authored-by: Victor Stinner --- diff --git a/Lib/test/test_capi/test_misc.py b/Lib/test/test_capi/test_misc.py index 575635584fb5..66d5ebed66d6 100644 --- a/Lib/test/test_capi/test_misc.py +++ b/Lib/test/test_capi/test_misc.py @@ -325,6 +325,8 @@ class CAPITest(unittest.TestCase): @unittest.skipUnless(hasattr(_testcapi, 'decref_freed_object'), 'need _testcapi.decref_freed_object()') + @support.skip_if_sanitizer("use after free on purpose", + address=True, memory=True, ub=True) def test_decref_freed_object(self): code = """ import _testcapi