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-07.phpt ('zend multibyte (7)')

Script

1: <?php
2:
declare(encoding="UTF-8");
3:
var_dump(bin2hex("ใƒ†ใ‚นใƒˆ"));
4:
?>
5:

Report

==22493== Conditional jump or move depends on uninitialised value(s)
==22493==    at 0x4C2B310: memchr (vg_replace_strmem.c:887)
==22493==    by 0xE4F89D: lex_scan (zend_language_scanner.l:1757)
==22493==    by 0xEAC1D5: zendlex (zend_compile.c:6919)
==22493==    by 0xE401CF: zendparse (zend_language_parser.c:3742)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Conditional jump or move depends on uninitialised value(s)
==22493==    at 0xE4FC57: lex_scan (zend_language_scanner.l:1805)
==22493==    by 0xEAC1D5: zendlex (zend_compile.c:6919)
==22493==    by 0xE401CF: zendparse (zend_language_parser.c:3742)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Conditional jump or move depends on uninitialised value(s)
==22493==    at 0xE4FC74: lex_scan (zend_language_scanner.l:1805)
==22493==    by 0xEAC1D5: zendlex (zend_compile.c:6919)
==22493==    by 0xE401CF: zendparse (zend_language_parser.c:3742)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Use of uninitialised value of size 8
==22493==    at 0xF1D359: zend_new_interned_string_int (zend_string.c:97)
==22493==    by 0xE84E63: zend_insert_literal (zend_compile.c:343)
==22493==    by 0xE850AC: zend_add_literal (zend_compile.c:366)
==22493==    by 0xE89064: zend_do_echo (zend_compile.c:877)
==22493==    by 0xE413EE: zendparse (zend_language_parser.y:339)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Use of uninitialised value of size 8
==22493==    at 0xF1D57F: zend_new_interned_string_int (zend_string.c:133)
==22493==    by 0xE84E63: zend_insert_literal (zend_compile.c:343)
==22493==    by 0xE850AC: zend_add_literal (zend_compile.c:366)
==22493==    by 0xE89064: zend_do_echo (zend_compile.c:877)
==22493==    by 0xE413EE: zendparse (zend_language_parser.y:339)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Use of uninitialised value of size 8
==22493==    at 0xF1D6BA: zend_new_interned_string_int (zend_string.c:151)
==22493==    by 0xE84E63: zend_insert_literal (zend_compile.c:343)
==22493==    by 0xE850AC: zend_add_literal (zend_compile.c:366)
==22493==    by 0xE89064: zend_do_echo (zend_compile.c:877)
==22493==    by 0xE413EE: zendparse (zend_language_parser.y:339)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Conditional jump or move depends on uninitialised value(s)
==22493==    at 0xE4F744: lex_scan (zend_language_scanner.c:1082)
==22493==    by 0xEAC1D5: zendlex (zend_compile.c:6919)
==22493==    by 0xE401CF: zendparse (zend_language_parser.c:3742)
==22493==    by 0xE4D97C: compile_file (zend_language_scanner.l:586)
==22493==    by 0xA962D1: phar_compile_file (phar.c:3370)
==22493==    by 0xED848E: zend_execute_scripts (zend.c:1333)
==22493==    by 0xDF8342: php_execute_script (main.c:2613)
==22493==    by 0x1089EDC: do_cli (php_cli.c:998)
==22493==    by 0x108B7C1: main (php_cli.c:1382)
==22493== 
==22493== Syscall param write(buf) points to uninitialised byte(s)
==22493==    at 0xD4557D0: __write_nocancel (in /lib64/libc-2.12.so)
==22493==    by 0x1087926: sapi_cli_single_write (php_cli.c:277)
==22493==    by 0x1087AA3: sapi_cli_ub_write (php_cli.c:312)
==22493==    by 0xE1D308: php_output_op (output.c:1094)
==22493==    by 0xE1A172: php_output_write (output.c:270)
==22493==    by 0xDF659D: php_output_wrapper (main.c:1962)
==22493==    by 0xED503C: zend_print_zval_ex (zend.c:332)
==22493==    by 0xED4F28: zend_print_zval (zend.c:313)
==22493==    by 0xED3610: zend_print_variable (zend_variables.c:160)
==22493==    by 0xF4EFCB: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2409)
==22493==    by 0xF429F3: execute_ex (zend_vm_execute.h:363)
==22493==    by 0xF435CC: zend_execute (zend_vm_execute.h:388)
==22493==  Address 0x141b2734 is 339,652 bytes inside a block of size 1,048,576 alloc'd
==22493==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==22493==    by 0xF1D095: zend_interned_strings_init (zend_string.c:48)
==22493==    by 0xED6167: zend_startup (zend.c:747)
==22493==    by 0xDF6A8E: php_module_startup (main.c:2149)
==22493==    by 0x1088065: php_cli_startup (php_cli.c:421)
==22493==    by 0x108B6C8: main (php_cli.c:1362)
==22493== 

 

Generated at Sat, 05 May 2018 00:21:10 +0000 (22 days ago)

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