Skip to content
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

Integer overflow in gen_sizeof #126123

Closed
federicovalenso opened this issue Oct 29, 2024 · 3 comments
Closed

Integer overflow in gen_sizeof #126123

federicovalenso opened this issue Oct 29, 2024 · 3 comments
Assignees
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@federicovalenso
Copy link
Contributor

federicovalenso commented Oct 29, 2024

Bug report

Bug description:

Overflow happens here.

Similar issue is #126119.

CPython versions tested on:

3.11

Operating systems tested on:

No response

@federicovalenso federicovalenso added the type-bug An unexpected behavior, bug, or error label Oct 29, 2024
@picnixz

This comment was marked as outdated.

@picnixz picnixz added interpreter-core (Objects, Python, Grammar, and Parser dirs) pending The issue will be closed if no feedback is provided 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Oct 29, 2024
@picnixz picnixz self-assigned this Oct 29, 2024
@picnixz
Copy link
Contributor

picnixz commented Oct 29, 2024

Nevermind, I misread the code. The crash can still happen. I'll prepare a PR as well.

@picnixz picnixz removed the pending The issue will be closed if no feedback is provided label Oct 29, 2024
@picnixz
Copy link
Contributor

picnixz commented Oct 29, 2024

Since the issue is similar, I'll just group it under the same issue number (so I'm closing it as a duplicate although it's not really a duplicate). Thanks for the report!

@picnixz picnixz closed this as completed Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants