1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/zlib/tests
ndossche a54af45a41 Fix memory leak when encoding check fails
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.
2025-02-13 19:10:17 +01:00
..
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00