This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erlendaasland
Recipients erlendaasland, serhiy.storchaka
Date 2021-10-22.19:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634931771.8.0.677146859676.issue45581@roundup.psfhosted.org>
In-reply-to
Content
Currently, we call _pysqlite_seterror() if sqlite3_open_v2() returns != SQLITE_OK. However, if a memory failure occurs during sqlite3_open_v2(), the database handle is explicitly set to NULL. This _may_ cause _pysqlite_seterror() to segfault, since we pass it a NULL db pointer, because behaviour is undefined if we pass sqlite3_errmsg() a NULL pointer.


See also:
- https://sqlite.org/c3ref/open.html
History
Date User Action Args
2021-10-22 19:42:51erlendaaslandsetrecipients: + erlendaasland, serhiy.storchaka
2021-10-22 19:42:51erlendaaslandsetmessageid: <1634931771.8.0.677146859676.issue45581@roundup.psfhosted.org>
2021-10-22 19:42:51erlendaaslandlinkissue45581 messages
2021-10-22 19:42:51erlendaaslandcreate