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

Valgrind Report for sapi/phpdbg/tests/run_001.phpt ('Test argv passing')

Script

1: <?php
2:
3: var_dump
($argc$argv);
4:

Report

==16870== Invalid write of size 1
==16870==    at 0x124E3D9: phpdbg_do_run (phpdbg_prompt.c:907)
==16870==    by 0x1277CEF: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==16870==    by 0x127810E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==16870==    by 0x1252B85: phpdbg_interactive (phpdbg_prompt.c:1634)
==16870==    by 0x123E978: main (phpdbg.c:2005)
==16870==  Address 0x15a11271 is 0 bytes after a block of size 1 alloc'd
==16870==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==16870==    by 0xF8755E: __zend_malloc (zend_alloc.c:2838)
==16870==    by 0xF85C66: _emalloc (zend_alloc.c:2429)
==16870==    by 0x124DD4B: phpdbg_do_run (phpdbg_prompt.c:844)
==16870==    by 0x1277CEF: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==16870==    by 0x127810E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==16870==    by 0x1252B85: phpdbg_interactive (phpdbg_prompt.c:1634)
==16870==    by 0x123E978: main (phpdbg.c:2005)
==16870== 
==16870== Conditional jump or move depends on uninitialised value(s)
==16870==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==16870==    by 0xF02523: php_build_argv (php_variables.c:569)
==16870==    by 0x124E5AD: phpdbg_do_run (phpdbg_prompt.c:924)
==16870==    by 0x1277CEF: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==16870==    by 0x127810E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==16870==    by 0x1252B85: phpdbg_interactive (phpdbg_prompt.c:1634)
==16870==    by 0x123E978: main (phpdbg.c:2005)
==16870== 
==16870== Invalid read of size 4
==16870==    at 0xA537562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA7FA0B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==16870==    by 0x100330C: module_destructor (zend_API.c:2501)
==16870==    by 0xFED69B: module_destructor_zval (zend.c:633)
==16870==    by 0x10265CC: _zend_hash_del_el_ex (zend_hash.c:997)
==16870==    by 0x10265CC: _zend_hash_del_el (zend_hash.c:1020)
==16870==    by 0x10265CC: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==16870==    by 0xFFEC44: zend_destroy_modules (zend_API.c:1978)
==16870==    by 0xFEE100: zend_shutdown (zend.c:876)
==16870==    by 0xEE385F: php_module_shutdown (main.c:2445)
==16870==    by 0x123F674: main (phpdbg.c:2166)
==16870==  Address 0x1502ffe0 is 0 bytes inside a block of size 43,632 free'd
==16870==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==16870==    by 0xA82DCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA8F3ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xB283F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA53D6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA7FA0B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==16870==    by 0x100330C: module_destructor (zend_API.c:2501)
==16870==    by 0xFED69B: module_destructor_zval (zend.c:633)
==16870==    by 0x10265CC: _zend_hash_del_el_ex (zend_hash.c:997)
==16870==    by 0x10265CC: _zend_hash_del_el (zend_hash.c:1020)
==16870==    by 0x10265CC: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==16870==    by 0xFFEC44: zend_destroy_modules (zend_API.c:1978)
==16870==  Block was alloc'd at
==16870==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==16870==    by 0xA82DCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA8F3EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xB283EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA547030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA5452FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA4074E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==16870==    by 0xA7F979: zm_activate_pdo_oci (pdo_oci.c:118)
==16870==    by 0x10034CD: zend_activate_modules (zend_API.c:2539)
==16870==    by 0xEE1216: php_request_startup (main.c:1698)
==16870==    by 0x123DB32: main (phpdbg.c:1810)
==16870== 

 

Generated at Sat, 22 Sep 2018 10:27:05 +0000 (14 hours ago)

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