History log of /PHP-8.2/ext/hash/tests/xxhash_unserialize_memsize.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# e8a0ae18 18-Jan-2021 Nikita Popov

Fix memsize check for xxh32

Copy-paste mistake: The memsize limit for xxh32 should be 16,
rather than 32 (which is correct for xxh64).

Probably fixes oss-fuzz #29661.


# cebdad4b 15-Jan-2021 Nikita Popov

Protect against buffer overflow in xxhash unserialization

We need to make sure that memsize is < 32 bytes.

Fixes oss-fuzz #29538.