Re: RC1
| From: | Pierre-Alain Joye | Date: | Fri, 05 Mar 2004 20:29:21 +0000 |
| Subject: | Re: RC1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8397@lists.php.net to get a copy of this message | ||
On Fri, 05 Mar 2004 22:18:09 +0200
andi@zend.com (Andi Gutmans) wrote:
> definitely be fixed. A couple of others don't look like show
> stoppers. If there's anyone here who can look at the non-Zend
> Engine ones that would be nice.
Is it ok to commit this patch (attachment) to fix #27238? (Do not
know who still maintain this part)
pierre
Index: iptc.c =================================================================== RCS file: /repository/php-src/ext/standard/iptc.c,v retrieving revision 1.45 diff -u -u -p -r1.45 iptc.c --- iptc.c 8 Jan 2004 08:17:33 -0000 1.45 +++ iptc.c 5 Mar 2004 20:22:56 -0000 @@ -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++;
Index: iptc.c =================================================================== RCS file: /repository/php-src/ext/standard/iptc.c,v retrieving revision 1.45 diff -u -u -p -r1.45 iptc.c --- iptc.c 8 Jan 2004 08:17:33 -0000 1.45 +++ iptc.c 5 Mar 2004 20:22:56 -0000 @@ -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++;