Skip to content

sqlite3.complete_statement should raise MemoryError if SQLite signals SQLITE_NOMEM #95912

Closed as not planned
@erlend-aasland

Description

@erlend-aasland

Quoting the SQLite docs, https://www.sqlite.org/c3ref/complete.html:

If a memory allocation fails, then SQLITE_NOMEM is returned.

For this condition, sqlite3.complete_statement should raise MemoryError.

Metadata

Metadata

Labels

3.10only security fixes3.11only security fixes3.12only security fixestopic-sqlite3type-bugAn unexpected behavior, bug, or error

Projects

Status

Discarded

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions