[issue34230] crashes in pysqlite_build_row_cast_map() on memory allocation failure

2018-07-25 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- pull_requests: +7996 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34230] crashes in pysqlite_build_row_cast_map() on memory allocation failure

2018-07-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Better error handling in sqlite3 ___ Python tracker ___

[issue34230] crashes in pysqlite_build_row_cast_map() on memory allocation failure

2018-07-25 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : 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 -- components: Extension Modules messages: 322396 nosy: sir-sigurd priority: normal