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.

Title: crashes in pysqlite_build_row_cast_map() on memory allocation failure
Type: crash Stage: resolved
Components: Extension Modules Versions:
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 2022-04-11 14:59 by admin. 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
Date User Action Args
2022-04-11 14:59:03adminsetgithub: 78411
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