1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

- MFH #27238 fix (ilia ok)

This commit is contained in:
Pierre Joye
2004-03-06 17:41:31 +00:00
parent 5babe27344
commit 6deb70d17d
+1 -1
View File
@@ -320,7 +320,7 @@ PHP_FUNCTION(iptcparse)
tagsfound = 0; /* number of tags already found */
while (inx < length) { /* find 1st tag */
if ((buffer[inx] == 0x1c) && (buffer[inx+1] == 0x02)){
if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){
break;
} else {
inx++;