Skip to content

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

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Apr 21, 2025

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
Member

👌

@pablogsal pablogsal merged commit ea8ec95 into python:main Apr 21, 2025
47 checks passed
@sobolevn sobolevn added the needs backport to 3.13 bugs and security fixes label Apr 21, 2025
@miss-islington-app
Copy link

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
Copy link

bedevere-app bot commented Apr 21, 2025

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 bugs and 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