X Tutup
The Wayback Machine - https://web.archive.org/web/20230403083218/https://github.com/python/cpython/issues/100342
Skip to content
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

Missing NULL check in AC *args tuple parsing #100342

Closed
kumaraditya303 opened this issue Dec 19, 2022 · 1 comment · Fixed by #100568
Closed

Missing NULL check in AC *args tuple parsing #100342

kumaraditya303 opened this issue Dec 19, 2022 · 1 comment · Fixed by #100568
Assignees
Labels
3.11 bug and security fixes 3.12 new features, bug and security fixes expert-argument-clinic type-bug An unexpected behavior, bug, or error type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@kumaraditya303
Copy link
Contributor

kumaraditya303 commented Dec 19, 2022

__clinic_args is currently not checked for NULL and can crash the interpreter. The fix is to check for NULL and exit early.

Linked PRs

@kumaraditya303 kumaraditya303 added type-bug An unexpected behavior, bug, or error 3.11 bug and security fixes 3.10 bug and security fixes type-crash A hard crash of the interpreter, possibly with a core dump expert-argument-clinic 3.12 new features, bug and security fixes labels Dec 19, 2022
@kumaraditya303 kumaraditya303 self-assigned this Dec 19, 2022
@kumaraditya303
Copy link
Contributor Author

cc @erlend-aasland

@kumaraditya303 kumaraditya303 removed the 3.10 bug and security fixes label Dec 19, 2022
kumaraditya303 added a commit to kumaraditya303/cpython that referenced this issue Dec 28, 2022
…rsing (pythonGH-100343).

(cherry picked from commit 7cf164a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
kumaraditya303 added a commit that referenced this issue Dec 28, 2022
…H-100343). (#100568)

(cherry picked from commit 7cf164a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 bug and security fixes 3.12 new features, bug and security fixes expert-argument-clinic type-bug An unexpected behavior, bug, or error type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
1 participant
X Tutup