]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150913: Fix sqlite3.Blob validation for empty slice assignment (GH-150915)
authorJiseok CHOI <jiseok.dev@gmail.com>
Thu, 4 Jun 2026 13:41:47 +0000 (22:41 +0900)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 13:41:47 +0000 (16:41 +0300)
commitfc9c4db1302f8be7527e70cf0938b629985a1d72
treeed208ba02857140946d279a2e97418b773006a10
parentd83d50b5b735cb58e175280d1c27d40c43d535b5
gh-150913: Fix sqlite3.Blob validation for empty slice assignment (GH-150915)

ass_subscript_slice() returned early when the computed slice length
was zero, bypassing validation performed for non-empty slices.
Lib/test/test_sqlite3/test_dbapi.py
Misc/NEWS.d/next/Library/2026-06-04-21-49-18.gh-issue-150913.EmptyBl.rst [new file with mode: 0644]
Modules/_sqlite/blob.c