-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
No NULL check in sqlite connection.c #129346
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done
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