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

Valgrind Report for ext/oci8/tests/close.phpt ('connect/close/connect')

Script

1: <?php
2:
3:
require dirname(__FILE__).'/connect.inc';
4:
5:
oci_close($c);
6:
7:
oci_connect($user$password$dbase);
8:     
9: echo 
"Done\n";
10:
?>
11:

Report

==7158== Invalid read of size 1
==7158==    at 0xA9CABA: zval_get_type (zend_types.h:390)
==7158==    by 0xA9CABA: php_oci_register_taf_callback (oci8_failover.c:108)
==7158==    by 0xA9CA73: php_oci_unregister_taf_callback (oci8_failover.c:92)
==7158==    by 0xA978D9: zif_oci_close (oci8_interface.c:1620)
==7158==    by 0x11997A2: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==7158==    by 0x131518D: execute_ex (zend_vm_execute.h:59663)
==7158==    by 0x1315805: zend_execute (zend_vm_execute.h:63700)
==7158==    by 0x10BAC6B: zend_execute_scripts (zend.c:1494)
==7158==    by 0xFAC08D: php_execute_script (main.c:2593)
==7158==    by 0x131B3A1: do_cli (php_cli.c:1011)
==7158==    by 0x131CD55: main (php_cli.c:1404)
==7158==  Address 0x14fba328 is 136 bytes inside a block of size 144 free'd
==7158==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7158==    by 0x10519A4: _efree (zend_alloc.c:2428)
==7158==    by 0xA715B0: php_oci_connection_close (oci8.c:2267)
==7158==    by 0xA6AFD3: php_oci_connection_list_dtor (oci8.c:1266)
==7158==    by 0x10FC905: zend_resource_dtor (zend_list.c:76)
==7158==    by 0x10FC9DD: zend_list_close (zend_list.c:89)
==7158==    by 0xA978BB: zif_oci_close (oci8_interface.c:1617)
==7158==    by 0x11997A2: ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:573)
==7158==    by 0x131518D: execute_ex (zend_vm_execute.h:59663)
==7158==    by 0x1315805: zend_execute (zend_vm_execute.h:63700)
==7158==    by 0x10BAC6B: zend_execute_scripts (zend.c:1494)
==7158==    by 0xFAC08D: php_execute_script (main.c:2593)
==7158==  Block was alloc'd at
==7158==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7158==    by 0x1052F6B: __zend_malloc (zend_alloc.c:2811)
==7158==    by 0x1051681: _emalloc (zend_alloc.c:2413)
==7158==    by 0x1051F0F: _safe_emalloc (zend_alloc.c:2472)
==7158==    by 0x1052321: _ecalloc (zend_alloc.c:2495)
==7158==    by 0xA6FD4E: php_oci_do_connect_ex (oci8.c:1981)
==7158==    by 0xA6C4D8: php_oci_do_connect (oci8.c:1645)
==7158==    by 0xA97991: zif_oci_connect (oci8_interface.c:1640)
==7158==    by 0x1199C8A: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==7158==    by 0x131518D: execute_ex (zend_vm_execute.h:59663)
==7158==    by 0x1315805: zend_execute (zend_vm_execute.h:63700)
==7158==    by 0x10BAC6B: zend_execute_scripts (zend.c:1494)
==7158== 

 

Generated at Sun, 24 Sep 2017 15:32:56 +0000 (39 hours ago)

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