[New-bugs-announce] [issue43251] sqlite3_column_name() failures should call PyErr_NoMemory()

Erlend Egeberg Aasland report at bugs.python.org
Thu Feb 18 06:22:34 EST 2021


New submission from Erlend Egeberg Aasland <erlend.aasland at innova.no>:

AFAICS, the docs for sqlite3_column_name() says that if it returns NULL, we are out of memory, thus we should call PyErr_NoMemory() and bail.

FYI, there are the calls to sqlite3_column_name() in Modules/_sqlite//cursor.c

Ref:
- http://sqlite.org/c3ref/column_name.html
- http://sqlite.org/c3ref/free.html

----------
components: Library (Lib)
messages: 387214
nosy: berker.peksag, erlendaasland, serhiy.storchaka
priority: normal
severity: normal
status: open
title: sqlite3_column_name() failures should call PyErr_NoMemory()
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43251>
_______________________________________


More information about the New-bugs-announce mailing list