Skip to content

Missing error check in _testinternalcapi #110241

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

Closed
sobolevn opened this issue Oct 2, 2023 · 0 comments
Closed

Missing error check in _testinternalcapi #110241

sobolevn opened this issue Oct 2, 2023 · 0 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Oct 2, 2023

Bug report

While looking at #110238 I've noticed that

PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func_name);
does not handle errors properly.

I have a PR ready :)

Linked PRs

@sobolevn sobolevn added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Oct 2, 2023
@sobolevn sobolevn self-assigned this Oct 2, 2023
sobolevn added a commit to sobolevn/cpython that referenced this issue Oct 2, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 2, 2023
…ternalcapi` (pythonGH-110242)

(cherry picked from commit 4596c76)

Co-authored-by: Nikita Sobolev <[email protected]>
JelleZijlstra pushed a commit that referenced this issue Oct 2, 2023
…nternalcapi` (GH-110242) (#110244)

gh-110241: Add missing error check to `record_eval` in `_testinternalcapi` (GH-110242)
(cherry picked from commit 4596c76)

Co-authored-by: Nikita Sobolev <[email protected]>
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants