Skip to content

Validate Python helper byte offsets before pointer arithmetic#624

Open
uwezkhan wants to merge 1 commit intogoogle:mainfrom
uwezkhan:fix/python-offset-validation
Open

Validate Python helper byte offsets before pointer arithmetic#624
uwezkhan wants to merge 1 commit intogoogle:mainfrom
uwezkhan:fix/python-offset-validation

Conversation

@uwezkhan
Copy link
Copy Markdown

Reject invalid byte offsets in the Python _re2 helpers before any native pointer arithmetic occurs, preventing out-of-bounds reads and crashes from negative or oversized offsets.

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