Skip to content

gh-95222: Disallow out-of-bounds co_consts/co_names access#95223

Closed
thatbirdguythatuknownot wants to merge 6 commits into
python:mainfrom
thatbirdguythatuknownot:patch-25
Closed

gh-95222: Disallow out-of-bounds co_consts/co_names access#95223
thatbirdguythatuknownot wants to merge 6 commits into
python:mainfrom
thatbirdguythatuknownot:patch-25

Conversation

@thatbirdguythatuknownot

@thatbirdguythatuknownot thatbirdguythatuknownot commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

Disallow out-of-bounds co_consts/co_names access by adding a check in _PyCode_Validate to prevent access violations in LOAD_CONST/LOAD_NAME/LOAD_GLOBAL when executing code.

Comment thread Lib/test/test_code.py
@kumaraditya303

Copy link
Copy Markdown
Contributor

Closing as per the discussion on issue.

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.

4 participants