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
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x7536FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x727859: gdImageCreateFromXpm (gdxpm.c:30)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x75370E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x727859: gdImageCreateFromXpm (gdxpm.c:30)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x753714D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x727859: gdImageCreateFromXpm (gdxpm.c:30)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x7537162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x727859: gdImageCreateFromXpm (gdxpm.c:30)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x75371C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x727859: gdImageCreateFromXpm (gdxpm.c:30)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x752F58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x72835D: gdImageCreateFromXpm (gdxpm.c:131)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505== by 0xFF31D1: main (php_cli.c:1377)
==24505==
==24505== Conditional jump or move depends on uninitialised value(s)
==24505== at 0x752F5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24505== by 0x72835D: gdImageCreateFromXpm (gdxpm.c:131)
==24505== by 0x70303C: _php_image_create_from (gd.c:2436)
==24505== by 0x7034D3: zif_imagecreatefromxpm (gd.c:2521)
==24505== by 0xE7141B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==24505== by 0xE7B42B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==24505== by 0xE6F058: execute_ex (zend_vm_execute.h:356)
==24505== by 0xE6FBEA: zend_execute (zend_vm_execute.h:381)
==24505== by 0xE0D032: zend_execute_scripts (zend.c:1316)
==24505== by 0xD30A33: php_execute_script (main.c:2481)
==24505== by 0xFF1A24: do_cli (php_cli.c:993)
==24505== by 0xFF31D1: main (php_cli.c:1377)
==24505==
Generated at Thu, 23 May 2013 18:18:24 +0000 (2 days ago)
|