php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #77546
Patch patch-iptc revision 2019-01-30 10:24 UTC by php at degoulet dot net

Patch patch-iptc for *Graphics related Bug #77546

Patch version 2019-01-30 10:24 UTC

Return to Bug #77546 | Download this patch
Patch Revisions:

Developer: php@degoulet.net

--- ext/standard/iptc.c.old	2019-01-30 11:22:09.389436127 +0100
+++ ext/standard/iptc.c	2019-01-30 11:22:26.301486406 +0100
@@ -273,7 +273,7 @@
 					iptcdata_len++; /* make the length even */
 				}
 
-				psheader[ 2 ] = (char) (iptcdata_len+28)>>8;
+				psheader[ 2 ] = (char) ((iptcdata_len+28)>>8);
 				psheader[ 3 ] = (iptcdata_len+28)&0xff;
 
 				for (inx = 0; inx < 28; inx++) {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 15:01:32 2024 UTC