| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 Patchesfix-iptcparse (last revision 2014-05-12 02:10 UTC by stas@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2014-05-12 02:10 UTC] stas@php.net
  [2014-05-14 00:16 UTC] stas@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: stas
  [2014-05-14 00:16 UTC] stas@php.net
  [2014-05-14 00:18 UTC] stas@php.net
 
-Type: Security
+Type: Bug
  [2014-05-14 07:57 UTC] tyrael@php.net
  [2014-05-18 17:19 UTC] dmitry@php.net
  [2014-05-26 06:32 UTC] ab@php.net
  [2014-05-26 06:50 UTC] ab@php.net
  [2014-07-29 21:56 UTC] johannes@php.net
  [2014-08-14 15:34 UTC] johannes@php.net
  [2014-08-14 19:32 UTC] dmitry@php.net
  [2014-10-07 23:14 UTC] stas@php.net
  [2014-10-07 23:15 UTC] stas@php.net
  [2014-10-07 23:25 UTC] stas@php.net
  [2014-10-07 23:26 UTC] stas@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 05:00:01 2025 UTC | 
Description: ------------ The code in iptcparse has insufficient bounds checking and can read past the end of the string. Test script: --------------- iptcparse("\x1C\x02_\x80___"); Expected result: ---------------- no memory errors Actual result: -------------- ==18573== Conditional jump or move depends on uninitialised value(s) ==18573== at 0x787A2F: zif_iptcparse (iptc.c:340) ==18573== by 0x8FA5E2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550) ==18573== by 0x8EBE7F: execute_ex (zend_vm_execute.h:363) ==18573== by 0x86A089: zend_eval_stringl (zend_execute_API.c:1187) ==18573== by 0x86A168: zend_eval_stringl_ex (zend_execute_API.c:1234) ==18573== by 0x928472: do_cli (php_cli.c:1034) ==18573== by 0x928EB7: main (php_cli.c:1378) ==18573== ==18573== Conditional jump or move depends on uninitialised value(s) ==18573== at 0x787A33: zif_iptcparse (iptc.c:340) ==18573== by 0x8FA5E2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550) ==18573== by 0x8EBE7F: execute_ex (zend_vm_execute.h:363) ==18573== by 0x86A089: zend_eval_stringl (zend_execute_API.c:1187) ==18573== by 0x86A168: zend_eval_stringl_ex (zend_execute_API.c:1234) ==18573== by 0x928472: do_cli (php_cli.c:1034) ==18573== by 0x928EB7: main (php_cli.c:1378)