1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  phar: Fix file descriptor/memory leak when opening central fp fails
This commit is contained in:
Niels Dossche
2025-10-13 09:08:24 +02:00

View File

@@ -1401,6 +1401,7 @@ fperror:
pass.centralfp = php_stream_fopen_tmpfile();
if (!pass.centralfp) {
php_stream_close(pass.filefp);
goto fperror;
}