PHP  
 PHP_5_5
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

==22019== Conditional jump or move depends on uninitialised value(s)
==22019==    at 0x4C2A420: memchr (vg_replace_strmem.c:792)
==22019==    by 0xDCD964: lex_scan (zend_language_scanner.l:1815)
==22019==    by 0xE2A320: zendlex (zend_compile.c:6787)
==22019==    by 0xDBE438: zendparse (zend_language_parser.c:3446)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Conditional jump or move depends on uninitialised value(s)
==22019==    at 0xDCDD1D: lex_scan (zend_language_scanner.l:1863)
==22019==    by 0xE2A320: zendlex (zend_compile.c:6787)
==22019==    by 0xDBE438: zendparse (zend_language_parser.c:3446)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Conditional jump or move depends on uninitialised value(s)
==22019==    at 0xDCDD3D: lex_scan (zend_language_scanner.l:1863)
==22019==    by 0xE2A320: zendlex (zend_compile.c:6787)
==22019==    by 0xDBE438: zendparse (zend_language_parser.c:3446)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Use of uninitialised value of size 8
==22019==    at 0xE98A11: zend_new_interned_string_int (zend_string.c:95)
==22019==    by 0xE01994: zend_insert_literal (zend_compile.c:339)
==22019==    by 0xE01BD0: zend_add_literal (zend_compile.c:362)
==22019==    by 0xE06792: zend_do_echo (zend_compile.c:869)
==22019==    by 0xDBF501: zendparse (zend_language_parser.y:309)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Conditional jump or move depends on uninitialised value(s)
==22019==    at 0xE98A3A: zend_new_interned_string_int (zend_string.c:97)
==22019==    by 0xE01994: zend_insert_literal (zend_compile.c:339)
==22019==    by 0xE01BD0: zend_add_literal (zend_compile.c:362)
==22019==    by 0xE06792: zend_do_echo (zend_compile.c:869)
==22019==    by 0xDBF501: zendparse (zend_language_parser.y:309)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Use of uninitialised value of size 8
==22019==    at 0xE98C39: zend_new_interned_string_int (zend_string.c:131)
==22019==    by 0xE01994: zend_insert_literal (zend_compile.c:339)
==22019==    by 0xE01BD0: zend_add_literal (zend_compile.c:362)
==22019==    by 0xE06792: zend_do_echo (zend_compile.c:869)
==22019==    by 0xDBF501: zendparse (zend_language_parser.y:309)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Use of uninitialised value of size 8
==22019==    at 0xE98D75: zend_new_interned_string_int (zend_string.c:149)
==22019==    by 0xE01994: zend_insert_literal (zend_compile.c:339)
==22019==    by 0xE01BD0: zend_add_literal (zend_compile.c:362)
==22019==    by 0xE06792: zend_do_echo (zend_compile.c:869)
==22019==    by 0xDBF501: zendparse (zend_language_parser.y:309)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Conditional jump or move depends on uninitialised value(s)
==22019==    at 0xDCD7FA: lex_scan (zend_language_scanner.c:1091)
==22019==    by 0xE2A320: zendlex (zend_compile.c:6787)
==22019==    by 0xDBE438: zendparse (zend_language_parser.c:3446)
==22019==    by 0xDCB9EF: compile_file (zend_language_scanner.l:588)
==22019==    by 0xA34C57: phar_compile_file (phar.c:3382)
==22019==    by 0xE54275: zend_execute_scripts (zend.c:1319)
==22019==    by 0xD7708E: php_execute_script (main.c:2525)
==22019==    by 0x103D675: do_cli (php_cli.c:994)
==22019==    by 0x103EE22: main (php_cli.c:1378)
==22019== 
==22019== Syscall param write(buf) points to uninitialised byte(s)
==22019==    at 0xD237520: __write_nocancel (in /lib64/libc-2.12.so)
==22019==    by 0x103AF7A: sapi_cli_single_write (php_cli.c:273)
==22019==    by 0x103B107: sapi_cli_ub_write (php_cli.c:308)
==22019==    by 0xD9B47F: php_output_op (output.c:1094)
==22019==    by 0xD98383: php_output_write (output.c:270)
==22019==    by 0xD75312: php_output_wrapper (main.c:1872)
==22019==    by 0xE50D62: zend_print_zval_ex (zend.c:331)
==22019==    by 0xE50C40: zend_print_zval (zend.c:312)
==22019==    by 0xE4F225: zend_print_variable (zend_variables.c:155)
==22019==    by 0xEC20E2: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2145)
==22019==    by 0xEB72AC: execute_ex (zend_vm_execute.h:363)
==22019==    by 0xEB7E3E: zend_execute (zend_vm_execute.h:388)
==22019==  Address 0x1417bb9c is 336,140 bytes inside a block of size 1,048,576 alloc'd
==22019==    at 0x4C2824A: malloc (vg_replace_malloc.c:296)
==22019==    by 0xE98785: zend_interned_strings_init (zend_string.c:48)
==22019==    by 0xE51EA3: zend_startup (zend.c:744)
==22019==    by 0xD75803: php_module_startup (main.c:2059)
==22019==    by 0x103B6E2: php_cli_startup (php_cli.c:417)
==22019==    by 0x103ED29: main (php_cli.c:1358)
==22019== 

 

Generated at Sat, 18 Apr 2015 12:48:18 +0000 (7 days ago)

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