8000 [3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) by miss-islington · Pull Request #109578 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) #109578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573)
Skip test_decref_freed_object() of test_capi.test_misc if Python is
built with ASAN, MSAN or UBSAN sanitizers.
(cherry picked from commit 0a31ff0)

Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
vstinner authored and miss-islington committed Sep 19, 2023
commit d5744a42cfa4aa22ae8045dd6eb4f5d76ea8170f
2 changes: 2 additions & 0 deletions Lib/test/test_capi/test_misc.py
5347
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ def test_negative_refcount(self):

@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
Expand Down
0