PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/mbstring/tests/zend_multibyte-09.phpt ('zend multibyte (9)')

Script

1: <?php
2:
declare(encoding="EUC-JP");
3:
// forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it
4: // back to UTF-8. There should be only a pair of consecutive bytes that is
5: // valid EUC-encoded character "鴻".
6:
var_dump(bin2hex("テスト"));
7:
?>
8:

Report

==4554== Conditional jump or move depends on uninitialised value(s)
==4554==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==4554==    by 0xE2FEEF: lex_scan (zend_language_scanner.l:1757)
==4554==    by 0xE8D5E4: zendlex (zend_compile.c:6902)
==4554==    by 0xE1FE30: zendparse (zend_language_parser.c:3742)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Conditional jump or move depends on uninitialised value(s)
==4554==    at 0xE302A8: lex_scan (zend_language_scanner.l:1805)
==4554==    by 0xE8D5E4: zendlex (zend_compile.c:6902)
==4554==    by 0xE1FE30: zendparse (zend_language_parser.c:3742)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Conditional jump or move depends on uninitialised value(s)
==4554==    at 0xE302C8: lex_scan (zend_language_scanner.l:1805)
==4554==    by 0xE8D5E4: zendlex (zend_compile.c:6902)
==4554==    by 0xE1FE30: zendparse (zend_language_parser.c:3742)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Use of uninitialised value of size 8
==4554==    at 0xEFE775: zend_new_interned_string_int (zend_string.c:97)
==4554==    by 0xE66333: zend_insert_literal (zend_compile.c:343)
==4554==    by 0xE6656F: zend_add_literal (zend_compile.c:366)
==4554==    by 0xE6A5D4: zend_do_echo (zend_compile.c:877)
==4554==    by 0xE2114A: zendparse (zend_language_parser.y:339)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Conditional jump or move depends on uninitialised value(s)
==4554==    at 0xEFE79E: zend_new_interned_string_int (zend_string.c:99)
==4554==    by 0xE66333: zend_insert_literal (zend_compile.c:343)
==4554==    by 0xE6656F: zend_add_literal (zend_compile.c:366)
==4554==    by 0xE6A5D4: zend_do_echo (zend_compile.c:877)
==4554==    by 0xE2114A: zendparse (zend_language_parser.y:339)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Use of uninitialised value of size 8
==4554==    at 0xEFE99D: zend_new_interned_string_int (zend_string.c:133)
==4554==    by 0xE66333: zend_insert_literal (zend_compile.c:343)
==4554==    by 0xE6656F: zend_add_literal (zend_compile.c:366)
==4554==    by 0xE6A5D4: zend_do_echo (zend_compile.c:877)
==4554==    by 0xE2114A: zendparse (zend_language_parser.y:339)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Use of uninitialised value of size 8
==4554==    at 0xEFEAD9: zend_new_interned_string_int (zend_string.c:151)
==4554==    by 0xE66333: zend_insert_literal (zend_compile.c:343)
==4554==    by 0xE6656F: zend_add_literal (zend_compile.c:366)
==4554==    by 0xE6A5D4: zend_do_echo (zend_compile.c:877)
==4554==    by 0xE2114A: zendparse (zend_language_parser.y:339)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Conditional jump or move depends on uninitialised value(s)
==4554==    at 0xE2FD85: lex_scan (zend_language_scanner.c:1082)
==4554==    by 0xE8D5E4: zendlex (zend_compile.c:6902)
==4554==    by 0xE1FE30: zendparse (zend_language_parser.c:3742)
==4554==    by 0xE2DF9A: compile_file (zend_language_scanner.l:586)
==4554==    by 0xA8D69A: phar_compile_file (phar.c:3358)
==4554==    by 0xEB9D68: zend_execute_scripts (zend.c:1333)
==4554==    by 0xDD7E4B: php_execute_script (main.c:2597)
==4554==    by 0x107172A: do_cli (php_cli.c:994)
==4554==    by 0x1072ED7: main (php_cli.c:1378)
==4554== 
==4554== Syscall param write(buf) points to uninitialised byte(s)
==4554==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==4554==    by 0x106F038: sapi_cli_single_write (php_cli.c:273)
==4554==    by 0x106F1C5: sapi_cli_ub_write (php_cli.c:308)
==4554==    by 0xDFCDEA: php_output_op (output.c:1094)
==4554==    by 0xDF9C1A: php_output_write (output.c:270)
==4554==    by 0xDD60BB: php_output_wrapper (main.c:1946)
==4554==    by 0xEB687B: zend_print_zval_ex (zend.c:332)
==4554==    by 0xEB6759: zend_print_zval (zend.c:313)
==4554==    by 0xEB4DC1: zend_print_variable (zend_variables.c:160)
==4554==    by 0xF30F11: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2406)
==4554==    by 0xF244EE: execute_ex (zend_vm_execute.h:363)
==4554==    by 0xF25091: zend_execute (zend_vm_execute.h:388)
==4554==  Address 0x1417ca9c is 339,468 bytes inside a block of size 1,048,576 alloc'd
==4554==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==4554==    by 0xEFE4B9: zend_interned_strings_init (zend_string.c:48)
==4554==    by 0xEB79AC: zend_startup (zend.c:747)
==4554==    by 0xDD65AC: php_module_startup (main.c:2133)
==4554==    by 0x106F797: php_cli_startup (php_cli.c:417)
==4554==    by 0x1072DDE: main (php_cli.c:1358)
==4554== 

 

Generated at Thu, 28 May 2015 04:48:16 +0000 (21 hours ago)

Copyright © 2005-2015 The PHP Group
All rights reserved.