Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.6k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__
- #157438
#157438
Open
Joekrry
wants to merge 16 commits into
python:main
python/cpython:main
from
Joekrry:fix-mmap-setitem-resize-reentrancy
Joekrry/cpython:fix-mmap-setitem-resize-reentrancy
Copy head branch name to clipboard
Conversation
Commits
16
(16)
Checks
Files changed
Open
gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__
#157438
Joekrry
wants to merge 16 commits into
python:main
python/cpython:main
from
Joekrry:fix-mmap-setitem-resize-reentrancy
Joekrry/cpython:fix-mmap-setitem-resize-reentrancy
Copy head branch name to clipboard
Commits
Commits on Sep 13, 2026
gh-157335: Fixed out of bounds write in mmap.mmap.__setitem__. Assigning to a single index causes mmap.mmap.__setitem__ to validate the index against the object's size, which then converts the assi…
Show description for c9b2513
Joekrry
committed
c9b2513
View commit details
Copy full SHA for c9b2513
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
884eb9d
View commit details
Copy full SHA for 884eb9d
Browse repository at this point
Commits on Sep 15, 2026
gh-157335: Address review feedback on mmap setitem reentrancy fix
Show description for 4095226
Joekrry
committed
4095226
View commit details
Copy full SHA for 4095226
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
ed62a31
View commit details
Copy full SHA for ed62a31
Browse repository at this point
gh:157335: fixed CI failure from mmap setitem reentrancy
Joekrry
committed
c9e4016
View commit details
Copy full SHA for c9e4016
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
b851d5f
View commit details
Copy full SHA for b851d5f
Browse repository at this point
gh:157335: mmap setitem bound checks altered, as per reviews
Joekrry
committed
c9f67ac
View commit details
Copy full SHA for c9f67ac
Browse repository at this point
Merge branch 'fix-mmap-setitem-resize-reentrancy' of https://github.com/Joekrry/cpython into fix-mmap-setitem-resize-reentrancy
Joekrry
committed
2d7d2aa
View commit details
Copy full SHA for 2d7d2aa
Browse repository at this point
Update Modules/mmapmodule.c
Show description for 0bc662a
Joekrry
and
vstinner
authored
0bc662a
View commit details
Copy full SHA for 0bc662a
Browse repository at this point
Update Misc/NEWS.d/next/Library/2026-09-13-15-58-28.gh-issue-157335.efaMah.rst
Show description for 06d8548
Joekrry
and
vstinner
authored
06d8548
View commit details
Copy full SHA for 06d8548
Browse repository at this point
Update Lib/test/test_mmap.py
Show description for 7de2dd3
Joekrry
and
vstinner
authored
7de2dd3
View commit details
Copy full SHA for 7de2dd3
Browse repository at this point
Update Lib/test/test_mmap.py
Show description for 4c7991b
Joekrry
and
vstinner
authored
4c7991b
View commit details
Copy full SHA for 4c7991b
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
c2cd539
View commit details
Copy full SHA for c2cd539
Browse repository at this point
gh-157335 Removed redundant CHECK_VALID check.
Joekrry
committed
11cbbe9
View commit details
Copy full SHA for 11cbbe9
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
b03446e
View commit details
Copy full SHA for b03446e
Browse repository at this point
Merge branch 'main' into fix-mmap-setitem-resize-reentrancy
Joekrry
authored
adfc2d5
View commit details
Copy full SHA for adfc2d5
Browse repository at this point
You can’t perform that action at this time.