René's URL Explorer Experiment


Title: gh-150449: Fix sqlite3.Blob crash with negative-step slices by ever0de · Pull Request #150450 · python/cpython · GitHub

Open Graph Title: gh-150449: Fix sqlite3.Blob crash with negative-step slices by ever0de · Pull Request #150450 · python/cpython

X Title: gh-150449: Fix sqlite3.Blob crash with negative-step slices by ever0de · Pull Request #150450 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Reading or writing a sqlite3.Blob with a negative-step slice such as blob[9:0:-2] caused a crash (SystemError on older versions, ValueError on current main) because the C code computed stop - start...

X Description: Reading or writing a sqlite3.Blob with a negative-step slice such as blob[9:0:-2] caused a crash (SystemError on older versions, ValueError on current main) because the C code computed stop - start...

Opengraph URL: https://github.com/python/cpython/pull/150450

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7131c58a-241e-129a-c5c7-fbd3547c1b47
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDC2:177F6A:1529C88:1CD142C:6A508C4A
html-safe-nonce88f4dcf4998352796082f2f4ca3d16467c5325485f11e9e1f4715e193a41ce66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREMyOjE3N0Y2QToxNTI5Qzg4OjFDRDE0MkM6NkE1MDhDNEEiLCJ2aXNpdG9yX2lkIjoiNDQwMTIzMTI4Njk3MjIyMjUzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbd52e54380460b52ea971fc5a8e3f4c372669c694e4b49af07423b1707bb08a5
hovercard-subject-tagpull_request:3745949651
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/150450/commits
twitter:imagehttps://opengraph.githubassets.com/4178c7e22d0093fb7c58234bad46ad6cca2e5d9a4b29fe22d0a1bffe6bac9cfd/python/cpython/pull/150450
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4178c7e22d0093fb7c58234bad46ad6cca2e5d9a4b29fe22d0a1bffe6bac9cfd/python/cpython/pull/150450
og:image:altReading or writing a sqlite3.Blob with a negative-step slice such as blob[9:0:-2] caused a crash (SystemError on older versions, ValueError on current main) because the C code computed stop - start...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameever0de
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/150450/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150450%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150450%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/150450/commits
Reloadhttps://github.com/python/cpython/pull/150450/commits
Reloadhttps://github.com/python/cpython/pull/150450/commits
Please reload this pagehttps://github.com/python/cpython/pull/150450/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/150450/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
ever0dehttps://github.com/ever0de
python:mainhttps://github.com/python/cpython/tree/main
ever0de:gh-150449-fix-sqlite-blob-negative-step-slicehttps://github.com/ever0de/cpython/tree/gh-150449-fix-sqlite-blob-negative-step-slice
Conversationhttps://github.com/python/cpython/pull/150450
Commits17 (17)https://github.com/python/cpython/pull/150450/commits
Checkshttps://github.com/python/cpython/pull/150450/checks
Files changedhttps://github.com/python/cpython/pull/150450/files
gh-150449: Fix sqlite3.Blob crash with negative-step sliceshttps://github.com/python/cpython/pull/150450/commits#top
ever0dehttps://github.com/ever0de
python:mainhttps://github.com/python/cpython/tree/main
ever0de:gh-150449-fix-sqlite-blob-negative-step-slicehttps://github.com/ever0de/cpython/tree/gh-150449-fix-sqlite-blob-negative-step-slice
gh-150449: Fix sqlite3.Blob crash with negative-step sliceshttps://github.com/python/cpython/pull/150450/commits/af0eb656e77f13b542e8956f1dec987857ff082e
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
af0eb65https://github.com/python/cpython/pull/150450/commits/af0eb656e77f13b542e8956f1dec987857ff082e
https://github.com/python/cpython/tree/af0eb656e77f13b542e8956f1dec987857ff082e
gh-150449: validate slice assignment size even for empty sliceshttps://github.com/python/cpython/pull/150450/commits/85312b4ed5ece748468f79875bd1dc926f6c62e1
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
85312b4https://github.com/python/cpython/pull/150450/commits/85312b4ed5ece748468f79875bd1dc926f6c62e1
https://github.com/python/cpython/tree/85312b4ed5ece748468f79875bd1dc926f6c62e1
gh-150449: add tests for negative-step slices with start <= stophttps://github.com/python/cpython/pull/150450/commits/c0c20185e8cff47684ce18597e50b9c759896a28
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
c0c2018https://github.com/python/cpython/pull/150450/commits/c0c20185e8cff47684ce18597e50b9c759896a28
https://github.com/python/cpython/tree/c0c20185e8cff47684ce18597e50b9c759896a28
Fix PEP 7 line-length violations in blob.c (ass_subscript_slice)https://github.com/python/cpython/pull/150450/commits/83d3a3c295cd60a8847c45687d1bd2612ca12eed
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
83d3a3chttps://github.com/python/cpython/pull/150450/commits/83d3a3c295cd60a8847c45687d1bd2612ca12eed
https://github.com/python/cpython/tree/83d3a3c295cd60a8847c45687d1bd2612ca12eed
gh-150449: Address review: docs, tests, and rename write_offsethttps://github.com/python/cpython/pull/150450/commits/f7c9f53f26e9d96b974c353114696ddfc5a34606
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
f7c9f53https://github.com/python/cpython/pull/150450/commits/f7c9f53f26e9d96b974c353114696ddfc5a34606
https://github.com/python/cpython/tree/f7c9f53f26e9d96b974c353114696ddfc5a34606
gh-150449: Fix versionchanged version: use 'next' not '3.16'https://github.com/python/cpython/pull/150450/commits/5087b422665452ca1c70ae2aaf66766d8d1aaaed
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
5087b42https://github.com/python/cpython/pull/150450/commits/5087b422665452ca1c70ae2aaf66766d8d1aaaed
https://github.com/python/cpython/tree/5087b422665452ca1c70ae2aaf66766d8d1aaaed
gh-150449: Fix wording in NEWS and whatsnew: 'crash' → 'raise SystemError or ValueError'https://github.com/python/cpython/pull/150450/commits/d774ab7d66e6a1ccfb846346c1c3859ca2949301
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
d774ab7https://github.com/python/cpython/pull/150450/commits/d774ab7d66e6a1ccfb846346c1c3859ca2949301
https://github.com/python/cpython/tree/d774ab7d66e6a1ccfb846346c1c3859ca2949301
gh-150449: Remove redundant issue references from test commentshttps://github.com/python/cpython/pull/150450/commits/5bf02de6365b15fc222773228b62d63d342029d1
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
5bf02dehttps://github.com/python/cpython/pull/150450/commits/5bf02de6365b15fc222773228b62d63d342029d1
https://github.com/python/cpython/tree/5bf02de6365b15fc222773228b62d63d342029d1
Merge remote-tracking branch 'upstream/main' into gh-150449-fix-sqlite-blob-negative-step-slicehttps://github.com/python/cpython/pull/150450/commits/c311c8e483161c53304346e38e207307d04ff0b3
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
c311c8ehttps://github.com/python/cpython/pull/150450/commits/c311c8e483161c53304346e38e207307d04ff0b3
https://github.com/python/cpython/tree/c311c8e483161c53304346e38e207307d04ff0b3
gh-150449: Fix missing blank line after xml section in whatsnewhttps://github.com/python/cpython/pull/150450/commits/d4b4b43fb625a57437c8315aff0071acac6ab033
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
d4b4b43https://github.com/python/cpython/pull/150450/commits/d4b4b43fb625a57437c8315aff0071acac6ab033
https://github.com/python/cpython/tree/d4b4b43fb625a57437c8315aff0071acac6ab033
gh-150449: Rename read_length to write_length in ass_subscript_slicehttps://github.com/python/cpython/pull/150450/commits/0936d6b02038a0712412d743d7a40fc4c83ecdb4
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
0936d6bhttps://github.com/python/cpython/pull/150450/commits/0936d6b02038a0712412d743d7a40fc4c83ecdb4
https://github.com/python/cpython/tree/0936d6b02038a0712412d743d7a40fc4c83ecdb4
gh-150449: Move empty-slice validation fix to dedicated PR for gh-150913https://github.com/python/cpython/pull/150450/commits/5f2f91625c3da69dbd67bd8733b61f2800daa5e1
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
5f2f916https://github.com/python/cpython/pull/150450/commits/5f2f91625c3da69dbd67bd8733b61f2800daa5e1
https://github.com/python/cpython/tree/5f2f91625c3da69dbd67bd8733b61f2800daa5e1
Merge remote-tracking branch 'upstream/main' into gh-150449-fix-sqlite-blob-negative-step-slicehttps://github.com/python/cpython/pull/150450/commits/d47abf89f56d74e8815a181fcc21f075acc4a31e
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
d47abf8https://github.com/python/cpython/pull/150450/commits/d47abf89f56d74e8815a181fcc21f075acc4a31e
https://github.com/python/cpython/tree/d47abf89f56d74e8815a181fcc21f075acc4a31e
gh-150449: Add tests for extreme step values in sqlite3.Blob slice operationshttps://github.com/python/cpython/pull/150450/commits/be1aa18c77e38d820e9d69bea4cb257677e3e976
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
be1aa18https://github.com/python/cpython/pull/150450/commits/be1aa18c77e38d820e9d69bea4cb257677e3e976
https://github.com/python/cpython/tree/be1aa18c77e38d820e9d69bea4cb257677e3e976
gh-150449: Assert correctness of extreme-step slice assignment in sqlite3.Blobhttps://github.com/python/cpython/pull/150450/commits/f76ebf77d037d7d906c7161bda05d88f774ae501
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
f76ebf7https://github.com/python/cpython/pull/150450/commits/f76ebf77d037d7d906c7161bda05d88f774ae501
https://github.com/python/cpython/tree/f76ebf77d037d7d906c7161bda05d88f774ae501
gh-150449: Isolate extreme-step Blob assignment testshttps://github.com/python/cpython/pull/150450/commits/52084f9e07249bf99e907dc971c9c4503f5b6ef8
https://github.com/ever0de
ever0dehttps://github.com/python/cpython/commits?author=ever0de
52084f9https://github.com/python/cpython/pull/150450/commits/52084f9e07249bf99e907dc971c9c4503f5b6ef8
https://github.com/python/cpython/tree/52084f9e07249bf99e907dc971c9c4503f5b6ef8
Merge branch 'main' into gh-150449-fix-sqlite-blob-negative-step-slicehttps://github.com/python/cpython/pull/150450/commits/a462e70375053af9f86192a31928cf23a19e4b69
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
a462e70https://github.com/python/cpython/pull/150450/commits/a462e70375053af9f86192a31928cf23a19e4b69
https://github.com/python/cpython/tree/a462e70375053af9f86192a31928cf23a19e4b69
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.