summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2004-03-06 17:31:51 +0000
committerPierre Joye <pajoye@php.net>2004-03-06 17:31:51 +0000
commita8b6b2102b2ba20f56e8c26a83c490ebce21fe43 (patch)
tree21de6db22bfc380739efb4e9f27b66198bcdb492
parente37f4db03dde8aa927d5e6e5919ed261f1d01c91 (diff)
downloadphp-git-a8b6b2102b2ba20f56e8c26a83c490ebce21fe43.tar.gz
- fix #27238
-rw-r--r--ext/standard/iptc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c
index 90e6fb3dca..5bccdb3795 100644
--- a/ext/standard/iptc.c
+++ b/ext/standard/iptc.c
@@ -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++;