Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-120384: gh-120298: Fix array-out-of-bounds & use after freelist#121345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
gpshead wants to merge2 commits intopython:3.11
base:3.11
Choose a base branch
Loading
fromgpshead:backport-120384-3.11

Conversation

gpshead
Copy link
Member

@gpsheadgpshead commentedJul 3, 2024
edited
Loading

gh-120384: Fix array-out-of-bounds crash inlist_ass_subscript (GH-120442) (cherry picked from commit8334a1b in the 3.12 branch)

gh-120298: Fix use after free inlist_richcompare.

pythonGH-120442) (python#120825)pythongh-120384: Fix array-out-of-bounds crash in `list_ass_subscript` (pythonGH-120442)(cherry picked from commit8334a1b)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@gpsheadgpshead changed the title[3.11] gh-120384: Fix array-out-of-bounds crash inlist_ass_subscript[3.11] gh-120384: gh-120298: Fix array-out-of-bounds & use after freelistJul 3, 2024
@gpshead
Copy link
MemberAuthor

For consideration as a security related backport. To trigger these, people already need the ability to run arbitrary Python code. So we don't consider this a vulnerability given the existing capabilities. But it could make the life of some projects built on top of Python a little better.

Such projects are already on undefined behavior grounds if they consider anything executing Python bytecode to not be able to escape that to begin with. Because CPython does not guarantee any such thing.

Copy link
Member

@pablogsalpablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Just commenting that I am happy to get this fix backported once it's reviewed and tested

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pablogsalpablogsalpablogsal left review comments

Assignees

@pablogsalpablogsal

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@gpshead@pablogsal@miss-islington

[8]ページ先頭

©2009-2025 Movatter.jp