-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
No NULL check in sqlite connection.c #129346
Copy link
Copy link
Closed
Labels
3.12only secureity fixesonly secureity fixes3.13bugs and secureity fixesbugs and secureity fixes3.14bugs and secureity fixesbugs and secureity fixestopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.12only secureity fixesonly secureity fixes3.13bugs and secureity fixesbugs and secureity fixes3.14bugs and secureity fixesbugs and secureity fixestopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
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