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
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x7536FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7278B9: gdImageCreateFromXpm (gdxpm.c:30)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x75370E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7278B9: gdImageCreateFromXpm (gdxpm.c:30)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x753714D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7278B9: gdImageCreateFromXpm (gdxpm.c:30)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x7537162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7278B9: gdImageCreateFromXpm (gdxpm.c:30)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x75371C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7278B9: gdImageCreateFromXpm (gdxpm.c:30)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x752F58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7283BD: gdImageCreateFromXpm (gdxpm.c:131)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744== by 0xFF3951: main (php_cli.c:1377)
==21744==
==21744== Conditional jump or move depends on uninitialised value(s)
==21744== at 0x752F5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==21744== by 0x7283BD: gdImageCreateFromXpm (gdxpm.c:131)
==21744== by 0x70308C: _php_image_create_from (gd.c:2436)
==21744== by 0x703523: zif_imagecreatefromxpm (gd.c:2521)
==21744== by 0xE71B9B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==21744== by 0xE7BBAB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==21744== by 0xE6F7D8: execute_ex (zend_vm_execute.h:356)
==21744== by 0xE7036A: zend_execute (zend_vm_execute.h:381)
==21744== by 0xE0D7B2: zend_execute_scripts (zend.c:1316)
==21744== by 0xD312C7: php_execute_script (main.c:2481)
==21744== by 0xFF21A4: do_cli (php_cli.c:993)
==21744== by 0xFF3951: main (php_cli.c:1377)
==21744==
Generated at Sat, 08 Jun 2013 10:22:27 +0000 (11 days ago)
|