FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-156939: Detect PyBytesWriter buffer overflow earlier by vstinner · Pull Request #157385 · python/cpython · GitHub

Repository navigation

gh-156939: Detect PyBytesWriter buffer overflow earlier - #157385

Merged
vstinner merged 3 commits into
python:mainfrom
vstinner:check_canary
Sep 13, 2026
Merged

vstinner merged 3 commits into
python:mainfrom
vstinner:check_canary

Conversation

vstinner commented Sep 13, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Check the canary byte in all PyBytesWriter methods, not only in PyBytesWriter_Finish().

Add a discard() method to the _testcapi wrapper.

Check the canary byte in all PyBytesWriter methods, not only in
PyBytesWriter_Finish().

Add a discard() method to the _testcapi wrapper.
vstinner merged commit 58cdff7 into python:main Sep 13, 2026
51 checks passed
vstinner deleted the check_canary branch September 13, 2026 03:47
johnslavik pushed a commit to johnslavik/cpython that referenced this pull request Sep 14, 2026
…#157385)

Check the canary byte in all PyBytesWriter methods, not only in
PyBytesWriter_Finish().

Add a discard() method to the _testcapi wrapper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL