-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
No NULL check in sqlite connection.c
#129346
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
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
topic-sqlite3
type-bug
An unexpected behavior, bug, or error
Comments
No, it cannot be |
erlend-aasland
added a commit
to erlend-aasland/cpython
that referenced
this issue
Jan 27, 2025
I removed the bug label. This is not a bug; it is just a missing |
Looking more closely at this, I agree with Serhiy it is a bug. |
erlend-aasland
added a commit
that referenced
this issue
Jan 27, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 27, 2025
pythonGH-129347) (cherry picked from commit 379ab85) Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 27, 2025
pythonGH-129347) (cherry picked from commit 379ab85) Co-authored-by: Erlend E. Aasland <[email protected]>
erlend-aasland
added a commit
that referenced
this issue
Jan 27, 2025
…xt (GH-129347) (#129373) (cherry picked from commit 379ab85) Co-authored-by: Erlend E. Aasland <[email protected]>
erlend-aasland
added a commit
that referenced
this issue
Jan 27, 2025
…xt (GH-129347) (#129372) (cherry picked from commit 379ab85) Co-authored-by: Erlend E. Aasland <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
topic-sqlite3
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
cpython/Modules/_sqlite/connection.c
Line 960 in 7ec1742
In this case we don'y check it against NULL, and can dereference in next line:
cpython/Modules/_sqlite/connection.c
Line 961 in 7ec1742
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: