pajoye Sat Mar 6 12:31:52 2004 EDT
Modified files:
/php-src/ext/standard iptc.c
Log:
- fix #27238
http://cvs.php.net/diff.php/php-src/ext/standard/iptc.c?r1=1.45&r2=1.46&ty=u
Index: php-src/ext/standard/iptc.c
diff -u php-src/ext/standard/iptc.c:1.45 php-src/ext/standard/iptc.c:1.46
--- php-src/ext/standard/iptc.c:1.45 Thu Jan 8 03:17:33 2004
+++ php-src/ext/standard/iptc.c Sat Mar 6 12:31:51 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: iptc.c,v 1.45 2004/01/08 08:17:33 andi Exp $ */
+/* $Id: iptc.c,v 1.46 2004/03/06 17:31:51 pajoye Exp $ */
/*
* Functions to parse & compse IPTC data.
@@ -320,7 +320,7 @@
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++;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php