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

==12570== Conditional jump or move depends on uninitialised value(s)
==12570==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==12570==    by 0xDD4E9B: lex_scan (zend_language_scanner.l:1757)
==12570==    by 0xE3205C: zendlex (zend_compile.c:6857)
==12570==    by 0xDC4DA0: zendparse (zend_language_parser.c:3742)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Conditional jump or move depends on uninitialised value(s)
==12570==    at 0xDD5254: lex_scan (zend_language_scanner.l:1805)
==12570==    by 0xE3205C: zendlex (zend_compile.c:6857)
==12570==    by 0xDC4DA0: zendparse (zend_language_parser.c:3742)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Conditional jump or move depends on uninitialised value(s)
==12570==    at 0xDD5274: lex_scan (zend_language_scanner.l:1805)
==12570==    by 0xE3205C: zendlex (zend_compile.c:6857)
==12570==    by 0xDC4DA0: zendparse (zend_language_parser.c:3742)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Use of uninitialised value of size 8
==12570==    at 0xEA312D: zend_new_interned_string_int (zend_string.c:97)
==12570==    by 0xE0B27F: zend_insert_literal (zend_compile.c:343)
==12570==    by 0xE0B4BB: zend_add_literal (zend_compile.c:366)
==12570==    by 0xE0F520: zend_do_echo (zend_compile.c:877)
==12570==    by 0xDC60F6: zendparse (zend_language_parser.y:339)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Use of uninitialised value of size 8
==12570==    at 0xEA3355: zend_new_interned_string_int (zend_string.c:133)
==12570==    by 0xE0B27F: zend_insert_literal (zend_compile.c:343)
==12570==    by 0xE0B4BB: zend_add_literal (zend_compile.c:366)
==12570==    by 0xE0F520: zend_do_echo (zend_compile.c:877)
==12570==    by 0xDC60F6: zendparse (zend_language_parser.y:339)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Use of uninitialised value of size 8
==12570==    at 0xEA3491: zend_new_interned_string_int (zend_string.c:151)
==12570==    by 0xE0B27F: zend_insert_literal (zend_compile.c:343)
==12570==    by 0xE0B4BB: zend_add_literal (zend_compile.c:366)
==12570==    by 0xE0F520: zend_do_echo (zend_compile.c:877)
==12570==    by 0xDC60F6: zendparse (zend_language_parser.y:339)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Conditional jump or move depends on uninitialised value(s)
==12570==    at 0xDD4D31: lex_scan (zend_language_scanner.c:1082)
==12570==    by 0xE3205C: zendlex (zend_compile.c:6857)
==12570==    by 0xDC4DA0: zendparse (zend_language_parser.c:3742)
==12570==    by 0xDD2F46: compile_file (zend_language_scanner.l:586)
==12570==    by 0xA34BF5: phar_compile_file (phar.c:3359)
==12570==    by 0xE5E76C: zend_execute_scripts (zend.c:1336)
==12570==    by 0xD7D28D: php_execute_script (main.c:2584)
==12570==    by 0x101123E: do_cli (php_cli.c:994)
==12570==    by 0x10129EB: main (php_cli.c:1378)
==12570== 
==12570== Syscall param write(buf) points to uninitialised byte(s)
==12570==    at 0xD22F490: __write_nocancel (in /lib64/libc-2.12.so)
==12570==    by 0x100EB4C: sapi_cli_single_write (php_cli.c:273)
==12570==    by 0x100ECD9: sapi_cli_ub_write (php_cli.c:308)
==12570==    by 0xDA1E02: php_output_op (output.c:1093)
==12570==    by 0xD9ED0C: php_output_write (output.c:269)
==12570==    by 0xD7B5EC: php_output_wrapper (main.c:1947)
==12570==    by 0xE5B27F: zend_print_zval_ex (zend.c:332)
==12570==    by 0xE5B15D: zend_print_zval (zend.c:313)
==12570==    by 0xE597C5: zend_print_variable (zend_variables.c:160)
==12570==    by 0xED560B: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2402)
==12570==    by 0xEC8C79: execute_ex (zend_vm_execute.h:363)
==12570==    by 0xEC981C: zend_execute (zend_vm_execute.h:388)
==12570==  Address 0x141cb524 is 339,012 bytes inside a block of size 1,048,576 alloc'd
==12570==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==12570==    by 0xEA2E71: zend_interned_strings_init (zend_string.c:48)
==12570==    by 0xE5C3B0: zend_startup (zend.c:747)
==12570==    by 0xD7BADD: php_module_startup (main.c:2134)
==12570==    by 0x100F2AB: php_cli_startup (php_cli.c:417)
==12570==    by 0x10128F2: main (php_cli.c:1358)
==12570== 

 

Generated at Wed, 17 Sep 2014 20:05:55 +0000 (2 days ago)

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