mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
d94be24f30
We must not `efree()` `zend_string`s, since they may have a refcount greater than one, and may even be interned. We also must not confuse `zend_string *` with `zend_string **`. And we should play it safe by using `safe_emalloc()` to avoid theoretical integer overflows. We also simplify a bit, according to suggestions of @TimWolla. Closes GH-16335. |
||
---|---|---|
.. | ||
tests | ||
config0.m4 | ||
config.w32 | ||
CREDITS | ||
php_zlib.def | ||
php_zlib.h | ||
zlib_arginfo.h | ||
zlib_filter.c | ||
zlib_fopen_wrapper.c | ||
zlib.c | ||
zlib.stub.php |