Files
Miss Islington (bot)andJelle Zijlstra 7291b843d8 [3.15] gh-159739: Keep SQLite list parameters alive while binding (GH-160192) (#160361)
When a SQL parameter sequence is an exact list, sqlite3 retrieved an element as a borrowed reference before taking ownership. On free-threaded builds another thread can replace it in between, so binding can use a freed object and crash. Fetch a strong reference atomically. Backport to 3.15 and 3.14.
(cherry picked from commit 4df47d8e60)

Co-authored-by: Jelle Zijlstra <jelle@openai.com>
2026-10-22 23:59:01 +00:00
..