mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zlib_create_dictionary_string() allocates memory, so we can leak memory if there's an early exit before the assignment to the return value. Solve this by moving all validation upwards. Closes GH-17788.