1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 11:32:11 +02:00
Files
archived-php-src/ext/spl
Nikita Popov 8509970e6a 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...
2019-09-23 13:18:27 +02:00
..
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00
2018-01-02 12:55:14 +08:00

This is an extension that aims to implement some efficient data access
interfaces and classes. You'll find the classes documented using php
code in the file spl.php or in the corresponding .inc file in the examples
subdirectory. Based on the internal implementations or the files in the
examples subdirectory there are also some .php files to experiment with.

For more information look at: http://php.net/manual/en/book.spl.php