classification
Title: crashes in pysqlite_build_row_cast_map() on memory allocation failure
Type: crash Stage: resolved
Components: Extension Modules Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Better error handling in sqlite3
View: 32788
Assigned To: Nosy List: sir-sigurd
Priority: normal Keywords:

Created on 2018-07-26 05:33 by sir-sigurd, last changed 2018-07-26 05:42 by sir-sigurd. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 8473 closed sir-sigurd, 2018-07-26 05:42
Messages (1)
msg322396 - (view) Author: Sergey Fedoseev (sir-sigurd) * Date: 2018-07-26 05:33
pysqlite_build_row_cast_map() can crash on memory allocation failure:

1. it doesn't check that PyList_New() returns non-NULL
2. Py_DECREF() borrowed reference when
History
Date User Action Args
2018-07-26 05:42:11sir-sigurdsetpull_requests: + pull_request7996
2018-07-26 05:39:51serhiy.storchakasetstatus: open -> closed
resolution: duplicate
superseder: Better error handling in sqlite3
stage: resolved
2018-07-26 05:33:24sir-sigurdcreate