Fix signed integer overflow in SplObjectStorage unserialization If count is ZEND_LONG_MIN the count-- loop underflows. This is ultimately harmless, but results in a ubsan warning.
Fix signed integer overflow in SplObjectStorage unserialization If count is ZEND_LONG_MIN the count-- loop underflows. This is ultimately harmless, but results in a ubsan warning. Fix this by adding a sanity check that the count isn't negative, because that doesn't make sense...
show more ...
|