diff options
author | Pierre Joye <pajoye@php.net> | 2004-03-06 17:31:51 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2004-03-06 17:31:51 +0000 |
commit | a8b6b2102b2ba20f56e8c26a83c490ebce21fe43 (patch) | |
tree | 21de6db22bfc380739efb4e9f27b66198bcdb492 | |
parent | e37f4db03dde8aa927d5e6e5919ed261f1d01c91 (diff) | |
download | php-git-a8b6b2102b2ba20f56e8c26a83c490ebce21fe43.tar.gz |
- fix #27238
-rw-r--r-- | ext/standard/iptc.c | 2 |
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++; |