mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix resource leak in iptcembed() on error
This commit is contained in:
@@ -204,6 +204,7 @@ PHP_FUNCTION(iptcembed)
|
||||
|
||||
if (spool < 2) {
|
||||
if (zend_fstat(fileno(fp), &sb) != 0) {
|
||||
fclose(fp);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user