Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Jul 14, 2021

Adding two zend_longs may overflow, and casting size_t to
zend_long may truncate; we can avoid this here by enforcing unsigned
arithmetic.

Adding two `zend_long`s may overflow, and casting `size_t` to
`zend_long` may truncate; we can avoid this here by enforcing unsigned
arithmetic.
@cmb69 cmb69 added the Bug label Jul 14, 2021
@cmb69 cmb69 closed this in 33f8dfb Jul 15, 2021
@cmb69 cmb69 deleted the cmb/72146 branch July 15, 2021 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants