Skip to content

gh-132769: Refactor possible read-out-of-bounds in lexer.c - #132770

Merged
pablogsal merged 1 commit into
python:mainfrom
sobolevn:issue-132769
Apr 21, 2025
Merged

pablogsal merged 1 commit into
python:mainfrom
sobolevn:issue-132769

Conversation

@sobolevn

@sobolevn sobolevn commented Apr 21, 2025 •

Copy link
Copy Markdown
Member

I don't really think that this is an actual problem, but this makes static analysis happy.
I also think that it might be a potential problem in some future case.

@pablogsal

Copy link
Copy Markdown
Member

👌

@pablogsal
pablogsal merged commit ea8ec95 into python:main Apr 21, 2025
@sobolevn sobolevn added the needs backport to 3.13 only security fixes label Apr 21, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 21, 2025
…ythonGH-132770)

(cherry picked from commit ea8ec95)

Co-authored-by: sobolevn <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented Apr 21, 2025

Copy link
Copy Markdown

GH-132788 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Apr 21, 2025
sobolevn added a commit that referenced this pull request Apr 21, 2025
…H-132770) (#132788)

gh-132769: Refactor possible read-out-of-bounds in `lexer.c` (GH-132770)
(cherry picked from commit ea8ec95)

Co-authored-by: sobolevn <mail@sobolevn.me>
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