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

==11247== Invalid write of size 1
==11247==    at 0x1257695: phpdbg_do_run (phpdbg_prompt.c:907)
==11247==    by 0x1280FAB: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==11247==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11247==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11247==    by 0x1247C34: main (phpdbg.c:2005)
==11247==  Address 0x165f5021 is 0 bytes after a block of size 1 alloc'd
==11247==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==11247==    by 0xF90535: __zend_malloc (zend_alloc.c:2838)
==11247==    by 0xF8EC3D: _emalloc (zend_alloc.c:2429)
==11247==    by 0x1257007: phpdbg_do_run (phpdbg_prompt.c:844)
==11247==    by 0x1280FAB: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==11247==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11247==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11247==    by 0x1247C34: main (phpdbg.c:2005)
==11247== 
==11247== Conditional jump or move depends on uninitialised value(s)
==11247==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==11247==    by 0xF0B311: php_build_argv (php_variables.c:569)
==11247==    by 0x1257869: phpdbg_do_run (phpdbg_prompt.c:924)
==11247==    by 0x1280FAB: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==11247==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11247==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11247==    by 0x1247C34: main (phpdbg.c:2005)
==11247== 
==11247== Invalid read of size 4
==11247==    at 0xA6A6562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA6AC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA5765C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA87C97: zm_shutdown_pdo_oci (pdo_oci.c:140)
==11247==    by 0x100C2E3: module_destructor (zend_API.c:2501)
==11247==    by 0xFF6672: module_destructor_zval (zend.c:633)
==11247==    by 0x102F5A3: _zend_hash_del_el_ex (zend_hash.c:997)
==11247==    by 0x102F5A3: _zend_hash_del_el (zend_hash.c:1020)
==11247==    by 0x102F5A3: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==11247==    by 0x1007C1B: zend_destroy_modules (zend_API.c:1978)
==11247==    by 0xFF70D7: zend_shutdown (zend.c:876)
==11247==    by 0xEEC64D: php_module_shutdown (main.c:2445)
==11247==    by 0x1248930: main (phpdbg.c:2166)
==11247==  Address 0x15c06400 is 0 bytes inside a block of size 43,632 free'd
==11247==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==11247==    by 0xA99CCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xAA62ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xB3F2F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA6AC6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA6AC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA5765C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA87C97: zm_shutdown_pdo_oci (pdo_oci.c:140)
==11247==    by 0x100C2E3: module_destructor (zend_API.c:2501)
==11247==    by 0xFF6672: module_destructor_zval (zend.c:633)
==11247==    by 0x102F5A3: _zend_hash_del_el_ex (zend_hash.c:997)
==11247==    by 0x102F5A3: _zend_hash_del_el (zend_hash.c:1020)
==11247==    by 0x102F5A3: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==11247==    by 0x1007C1B: zend_destroy_modules (zend_API.c:1978)
==11247==  Block was alloc'd at
==11247==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==11247==    by 0xA99CCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xAA62EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xB3F2EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA6B6030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA6B42FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA5764E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11247==    by 0xA87C05: zm_activate_pdo_oci (pdo_oci.c:118)
==11247==    by 0x100C4A4: zend_activate_modules (zend_API.c:2539)
==11247==    by 0xEEA004: php_request_startup (main.c:1698)
==11247==    by 0x1246DEE: main (phpdbg.c:1810)
==11247== 

 

Generated at Tue, 12 Feb 2019 16:11:15 +0000 (11 days ago)

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