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

Valgrind Report for ext/odbc/tests/odbc_tables_001.phpt ('odbc_tables(): Basic test')

Script

1: <?php
2:
3:
include 'config.inc';
4:
5:
$conn odbc_connect($dsn$user$pass);
6:
7:
var_dump($result odbc_tables($conn''''''''));
8:
var_dump(odbc_fetch_row($result));
9:
10:
var_dump($result odbc_tables($connNULLNULLNULLNULL));
11:
var_dump(odbc_fetch_row($result));
12:
13:
var_dump($result odbc_tables($conn'FOO''FOO''FOO''FOO'));
14:
var_dump(odbc_fetch_row($result));
15:
16:
17:
?>
18:

Report

==17816== Conditional jump or move depends on uninitialised value(s)
==17816==    at 0x9D2ED6: odbc_bindcols (php_odbc.c:966)
==17816==    by 0x9DDF58: zif_odbc_tables (php_odbc.c:3119)
==17816==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==17816==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==17816==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==17816==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==17816==    by 0xEFAF93: php_execute_script (main.c:2560)
==17816==    by 0x121FD91: do_cli (php_cli.c:978)
==17816==    by 0x1221808: main (php_cli.c:1356)
==17816== 
==17816== Conditional jump or move depends on uninitialised value(s)
==17816==    at 0x9D2FB0: odbc_bindcols (php_odbc.c:997)
==17816==    by 0x9DDF58: zif_odbc_tables (php_odbc.c:3119)
==17816==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==17816==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==17816==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==17816==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==17816==    by 0xEFAF93: php_execute_script (main.c:2560)
==17816==    by 0x121FD91: do_cli (php_cli.c:978)
==17816==    by 0x1221808: main (php_cli.c:1356)
==17816== 

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (20 hours ago)

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