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
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x7536FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70B601: gdImageCreateFromXpm (gdxpm.c:30)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x75370E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70B601: gdImageCreateFromXpm (gdxpm.c:30)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x753714D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70B601: gdImageCreateFromXpm (gdxpm.c:30)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x7537162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70B601: gdImageCreateFromXpm (gdxpm.c:30)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x75371C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70B601: gdImageCreateFromXpm (gdxpm.c:30)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x752F58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70C105: gdImageCreateFromXpm (gdxpm.c:131)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
==633== Conditional jump or move depends on uninitialised value(s)
==633== at 0x752F5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==633== by 0x70C105: gdImageCreateFromXpm (gdxpm.c:131)
==633== by 0x6EAC6D: _php_image_create_from (gd.c:2534)
==633== by 0x6EB0C9: zif_imagecreatefromxpm (gd.c:2627)
==633== by 0xDD5282: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==633== by 0xDDF324: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==633== by 0xDD33CC: execute (zend_vm_execute.h:410)
==633== by 0xD77F06: zend_execute_scripts (zend.c:1315)
==633== by 0xCAA557: php_execute_script (main.c:2494)
==633== by 0xF45C87: do_cli (php_cli.c:988)
==633== by 0xF472C4: main (php_cli.c:1364)
==633==
Generated at Tue, 21 May 2013 17:04:51 +0000 (3 days ago)
|