Skip to content

Commit 312181b

Browse files
committed
fix iptcembed()
1 parent c592925 commit 312181b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/iptc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ PHP_FUNCTION(iptcembed)
201201
}
202202

203203
if (spool < 2) {
204-
fstat(fileno(fp), &sb);
204+
zend_fstat(fileno(fp), &sb);
205205

206206
poi = spoolbuf = safe_emalloc(1, iptcdata_len + sizeof(psheader) + sb.st_size + 1024, 1);
207207
memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1);

0 commit comments

Comments
 (0)