php-src/ext/zip
Niels Dossche 2eb3100dca
Fix GH-18438: Handling of empty data and errors in ZipArchive::addPattern
There is a ZPP arginfo violation because the empty return or error
return is not always properly handled.
And there is also a memory leak if creating the regular expression
instance fails.

Closes GH-18438.
2025-04-27 11:30:57 +02:00
..
examples Apply tidy formatting 2020-02-03 13:41:31 +01:00
tests Fix GH-18438: Handling of empty data and errors in ZipArchive::addPattern 2025-04-27 11:30:57 +02:00
config.m4 Remove unused call to Makefile.frag in ext/zip 2023-08-19 17:41:05 +02:00
config.w32 Build ext/zip as shared library by default on Windows 2022-05-20 14:31:32 +02:00
CREDITS
php_zip.c Fix GH-18438: Handling of empty data and errors in ZipArchive::addPattern 2025-04-27 11:30:57 +02:00
php_zip.h Fix GH-17139: Fix zip_entry_name() crash on invalid entry 2025-01-12 20:37:51 +01:00
php_zip.stub.php use typed constants in 8.3 2023-07-28 15:56:42 +02:00
php_zip_arginfo.h use typed constants in 8.3 2023-07-28 15:56:42 +02:00
zip_stream.c implement fseek for zip stream when possible with libzip 1.9.1 2022-06-28 15:17:27 +02:00