You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segfault if pysqlite_Row->description == PyNone #129603
Most of the code in Modules/_sqlite/row.c assumes ->description is a tuple. However, it may be None. Since it is possible to craft a sqlite3.Row object "by hand", it is easy to provoke segfauls for paths that involve the PyTuple API and description == Py_None. Any real code would never directly instantiate a row object; it would be implicitly created by the cursor (via the .fetch*() APIs or by iterating on the cursor). However, I don't think we should let a possible segfault hang around.
Activity
pythongh-129603: Don't segfault if sqlite3.Row description is None
pythongh-129603: Don't segfault if sqlite3.Row description is None
gh-129603: Don't segfault if sqlite3.Row description is None (#129604)
[3.13] pythongh-129603: Don't segfault if sqlite3.Row description is …
[3.12] gh-129603: Don't segfault if sqlite3.Row description is None (#…
[3.13] gh-129603: Don't segfault if sqlite3.Row description is None (#…