com php-src: Merge branch 'PHP-5.6': ext/standard/iptc.c

From: Date: Sat, 18 Jul 2015 20:52:39 +0000
Subject: com php-src: Merge branch 'PHP-5.6': ext/standard/iptc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88034@lists.php.net to get a copy of this message
Commit: 3ed0d1815280758b63d221d8de8b1ff6e24cc890 Author: Christoph M. Becker <cmb@php.net> Sat, 18 Jul 2015 22:52:39 +0200 Parents: f809f2811964f216018f2ff7623d779991854252 abc3598f4729a5e4e3a787d2610a03e978199941 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3ed0d1815280758b63d221d8de8b1ff6e24cc890 Log: Merge branch 'PHP-5.6' * PHP-5.6: Fix #70096: Repeated iptcembed() adds superfluous FF bytes Conflicts: ext/standard/iptc.c Bugs: https://bugs.php.net/70096 Changed paths: MM ext/standard/iptc.c Diff: diff --cc ext/standard/iptc.c index 4554be3,169ee96..c47f2c2 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@@ -237,8 -235,9 +237,9 @@@ PHP_FUNCTION(iptcembed switch (marker) { case M_APP13: /* we are going to write a new APP13 marker, so don't output the old one */ - php_iptc_skip_variable(fp, 0, 0 TSRMLS_CC); + php_iptc_skip_variable(fp, 0, 0); + fgetc(fp); /* skip already copied 0xFF byte */ - php_iptc_read_remaining(fp, spool, poi?&poi:0 TSRMLS_CC); + php_iptc_read_remaining(fp, spool, poi?&poi:0); done = 1; break;

« previous php.cvs (#88034) next »