gh-142787: Fix assertion failure in sqlite3 blob slice#142824
gh-142787: Fix assertion failure in sqlite3 blob slice#142824erlend-aasland merged 5 commits intopython:mainfrom
Conversation
|
Thanks for working on this! Please make sure this regression is covered by the test suite. |
|
Hi, there is a duplicated news entry, please remove it. |
8c9bd46 to
577803c
Compare
|
Moreover, please avoid force-pushing (as recommended by the devguide). |
Noted @erlend-aasland |
|
@aisk Gentle reminder on this |
|
Let's wait for @erlend-aasland's review. |
|
Thanks @abdoulrasheed for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commit 06b0920) Co-authored-by: A.Ibrahim <abdulrasheedibrahim47@gmail.com>
(cherry picked from commit 06b0920) Co-authored-by: A.Ibrahim <abdulrasheedibrahim47@gmail.com>
|
GH-145297 is a backport of this pull request to the 3.14 branch. |
|
GH-145298 is a backport of this pull request to the 3.13 branch. |
Fix assertion failure when slicing a
sqlite3.Blobwith indices that result in an empty slice.PyObject *read_multiple(pysqlite_Blob *, Py_ssize_t, Py_ssize_t): Assertion 'offset < sqlite3_blob_bytes(self->blob)' failed#142787