-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
BUG: Fix GDF Out of Bound Error #13113
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
BUG: Fix GDF Out of Bound Error #13113
Conversation
|
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴 |
Co-authored-by: Scott Huberty <52462026+scott-huberty@users.noreply.github.com>
for more information, see https://pre-commit.ci
larsoner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking for merge-when-green and restarting the spuriously failed CI, thanks in advance @greasycat !
|
🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪 |
Reference issue (if any)
Fixes #13111.
What does this implement/fix?
This fixes a "Python integer 512 out of bounds" issue that occurred when accumulating values using a for-loop with exponentiation (2 ** (i * 8)) in a GDF parsing function. The issue arose because intermediate values exceeded the uint8 (0-255) limit.
Related Fix: #12909