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