Valgrind Report for ext/gd/tests/xpm2gd.phpt ('xpm --> gd1/gd2 conversion test')
Script
1:
<?php 2: $cwd = dirname(__FILE__); 3: 4: echo "XPM to GD1 conversion: "; 5: echo imagegd(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test.gd1") ? 'ok' : 'failed'; 6: echo "\n"; 7: 8: echo "XPM to GD2 conversion: "; 9: echo imagegd2(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test.gd2") ? 'ok' : 'failed'; 10: echo "\n"; 11: 12: @unlink($cwd . "/test.gd1"); 13: @unlink($cwd . "/test.gd2"); 14: ?> 15:
Report
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x7230FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FBE75: gdImageCreateFromXpm (gdxpm.c:30)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x72310E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FBE75: gdImageCreateFromXpm (gdxpm.c:30)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x723114D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FBE75: gdImageCreateFromXpm (gdxpm.c:30)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x7231162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FBE75: gdImageCreateFromXpm (gdxpm.c:30)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x72311C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FBE75: gdImageCreateFromXpm (gdxpm.c:30)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x722958F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FC979: gdImageCreateFromXpm (gdxpm.c:131)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
==24825== Conditional jump or move depends on uninitialised value(s)
==24825== at 0x72295D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24825== by 0x6FC979: gdImageCreateFromXpm (gdxpm.c:131)
==24825== by 0x6DBC51: _php_image_create_from (gd.c:2497)
==24825== by 0x6DC09E: zif_imagecreatefromxpm (gd.c:2579)
==24825== by 0xDB8BD2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24825== by 0xDBEEB1: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1632)
==24825== by 0xDB7C17: execute (zend_vm_execute.h:107)
==24825== by 0xD6B0B7: zend_execute_scripts (zend.c:1259)
==24825== by 0xCB7000: php_execute_script (main.c:2316)
==24825== by 0xEAE410: main (php_cli.c:1189)
==24825==
Generated at Sun, 19 May 2013 20:27:25 +0000 (5 days ago)
|