Skip to content

Fix integer overflow in buffer length calculation for unpack('m') and unpack('u')#8936

Merged
enebo merged 2 commits intojruby:masterfrom
ikaronen-relex:unpack-buffer-size-overflow
Aug 1, 2025
Merged

Fix integer overflow in buffer length calculation for unpack('m') and unpack('u')#8936
enebo merged 2 commits intojruby:masterfrom
ikaronen-relex:unpack-buffer-size-overflow

Conversation

@ikaronen-relex
Copy link
Contributor

This fixes #8933

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output buffer size calculation for unpack('m') and unpack('u') can overflow for long inputs

2 participants