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

==32286== Conditional jump or move depends on uninitialised value(s)
==32286==    at 0x4C29740: memchr (mc_replace_strmem.c:762)
==32286==    by 0xDC0188: lex_scan (zend_language_scanner.l:1815)
==32286==    by 0xE1C771: zendlex (zend_compile.c:6752)
==32286==    by 0xDB0C48: zendparse (zend_language_parser.c:3446)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Conditional jump or move depends on uninitialised value(s)
==32286==    at 0xDC0541: lex_scan (zend_language_scanner.l:1863)
==32286==    by 0xE1C771: zendlex (zend_compile.c:6752)
==32286==    by 0xDB0C48: zendparse (zend_language_parser.c:3446)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Conditional jump or move depends on uninitialised value(s)
==32286==    at 0xDC0561: lex_scan (zend_language_scanner.l:1863)
==32286==    by 0xE1C771: zendlex (zend_compile.c:6752)
==32286==    by 0xDB0C48: zendparse (zend_language_parser.c:3446)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Use of uninitialised value of size 8
==32286==    at 0xE8ADE1: zend_new_interned_string_int (zend_string.c:95)
==32286==    by 0xDF41B8: zend_insert_literal (zend_compile.c:339)
==32286==    by 0xDF43F4: zend_add_literal (zend_compile.c:362)
==32286==    by 0xDF8FB6: zend_do_echo (zend_compile.c:869)
==32286==    by 0xDB1D25: zendparse (zend_language_parser.y:309)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Conditional jump or move depends on uninitialised value(s)
==32286==    at 0xE8AE0A: zend_new_interned_string_int (zend_string.c:97)
==32286==    by 0xDF41B8: zend_insert_literal (zend_compile.c:339)
==32286==    by 0xDF43F4: zend_add_literal (zend_compile.c:362)
==32286==    by 0xDF8FB6: zend_do_echo (zend_compile.c:869)
==32286==    by 0xDB1D25: zendparse (zend_language_parser.y:309)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Use of uninitialised value of size 8
==32286==    at 0xE8B009: zend_new_interned_string_int (zend_string.c:131)
==32286==    by 0xDF41B8: zend_insert_literal (zend_compile.c:339)
==32286==    by 0xDF43F4: zend_add_literal (zend_compile.c:362)
==32286==    by 0xDF8FB6: zend_do_echo (zend_compile.c:869)
==32286==    by 0xDB1D25: zendparse (zend_language_parser.y:309)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Use of uninitialised value of size 8
==32286==    at 0xE8B145: zend_new_interned_string_int (zend_string.c:149)
==32286==    by 0xDF41B8: zend_insert_literal (zend_compile.c:339)
==32286==    by 0xDF43F4: zend_add_literal (zend_compile.c:362)
==32286==    by 0xDF8FB6: zend_do_echo (zend_compile.c:869)
==32286==    by 0xDB1D25: zendparse (zend_language_parser.y:309)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Conditional jump or move depends on uninitialised value(s)
==32286==    at 0xDC001E: lex_scan (zend_language_scanner.c:1091)
==32286==    by 0xE1C771: zendlex (zend_compile.c:6752)
==32286==    by 0xDB0C48: zendparse (zend_language_parser.c:3446)
==32286==    by 0xDBE213: compile_file (zend_language_scanner.l:588)
==32286==    by 0xA28EE6: phar_compile_file (phar.c:3383)
==32286==    by 0xE466B9: zend_execute_scripts (zend.c:1322)
==32286==    by 0xD69884: php_execute_script (main.c:2506)
==32286==    by 0x102ADE9: do_cli (php_cli.c:994)
==32286==    by 0x102C596: main (php_cli.c:1378)
==32286== 
==32286== Syscall param write(buf) points to uninitialised byte(s)
==32286==    at 0xD22F490: __write_nocancel (in /lib64/libc-2.12.so)
==32286==    by 0x10286EE: sapi_cli_single_write (php_cli.c:273)
==32286==    by 0x102887B: sapi_cli_ub_write (php_cli.c:308)
==32286==    by 0xD8DCCA: php_output_op (output.c:1093)
==32286==    by 0xD8ABCE: php_output_write (output.c:269)
==32286==    by 0xD67C0E: php_output_wrapper (main.c:1868)
==32286==    by 0xE431A6: zend_print_zval_ex (zend.c:331)
==32286==    by 0xE43084: zend_print_zval (zend.c:312)
==32286==    by 0xE41669: zend_print_variable (zend_variables.c:155)
==32286==    by 0xEB4437: ZEND_ECHO_SPEC_CONST_HANDLER (zend_vm_execute.h:2141)
==32286==    by 0xEA966C: execute_ex (zend_vm_execute.h:363)
==32286==    by 0xEAA1FE: zend_execute (zend_vm_execute.h:388)
==32286==  Address 0x141ca7ec is 336,140 bytes inside a block of size 1,048,576 alloc'd
==32286==    at 0x4C27AFA: malloc (vg_replace_malloc.c:291)
==32286==    by 0xE8AB55: zend_interned_strings_init (zend_string.c:48)
==32286==    by 0xE442E7: zend_startup (zend.c:744)
==32286==    by 0xD680FF: php_module_startup (main.c:2055)
==32286==    by 0x1028E56: php_cli_startup (php_cli.c:417)
==32286==    by 0x102C49D: main (php_cli.c:1358)
==32286== 

 

Generated at Mon, 15 Sep 2014 17:22:22 +0000 (4 days ago)

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