Skip to content

gh-156939: Detect buffer overflow in bytearray - #157382

Draft
vstinner wants to merge 10 commits into
python:mainfrom
vstinner:bytearray_consistency
Draft

gh-156939: Detect buffer overflow in bytearray#157382
vstinner wants to merge 10 commits into
python:mainfrom
vstinner:bytearray_consistency

Conversation

@vstinner

@vstinner vstinner commented Sep 12, 2026

Copy link
Copy Markdown
Member

Add bytearray_check_consistency() and
bytearray_check_trailing_null_byte() functions in call them in most bytearray methods.

Add bytearray_check_consistency() and
bytearray_check_trailing_null_byte() functions in call them in most
bytearray methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant