Message404818
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 |
|
Date |
User |
Action |
Args |
2021-10-22 19:42:51 | erlendaasland | set | recipients:
+ erlendaasland, serhiy.storchaka |
2021-10-22 19:42:51 | erlendaasland | set | messageid: <1634931771.8.0.677146859676.issue45581@roundup.psfhosted.org> |
2021-10-22 19:42:51 | erlendaasland | link | issue45581 messages |
2021-10-22 19:42:51 | erlendaasland | create | |
|