History log of /php-src/ext/standard/tests/http/gh15034.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# cfcc2a3f 19-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-15034: Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB

We were using atoi, which is only for integers. When the size does not
fit in

Fix GH-15034: Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB

We were using atoi, which is only for integers. When the size does not
fit in an integer this breaks. Use ZEND_STRTOUL instead. Also make sure
invalid data isn't accidentally parsed into a file size.

Closes GH-15035.

show more ...