We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e68671 commit 8a1f671Copy full SHA for 8a1f671
NEWS
@@ -16,6 +16,7 @@ PHP NEWS
16
. Fixed bug GH-18209 (Use-after-free in extract() with EXTR_REFS). (ilutov)
17
. Fixed bug GH-18212 (fseek with SEEK_CUR whence value and negative offset
18
leads to negative stream position). (David Carlier)
19
+ . Fix resource leak in iptcembed() on error. (nielsdos)
20
21
10 Apr 2025, PHP 8.3.20
22
ext/standard/iptc.c
@@ -204,6 +204,7 @@ PHP_FUNCTION(iptcembed)
204
205
if (spool < 2) {
206
if (zend_fstat(fileno(fp), &sb) != 0) {
207
+ fclose(fp);
208
RETURN_FALSE;
209
}
210
0 commit comments