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

==31783== Conditional jump or move depends on uninitialised value(s)
==31783==    at 0x9DF202: odbc_bindcols (php_odbc.c:960)
==31783==    by 0x9EA276: zif_odbc_tables (php_odbc.c:3113)
==31783==    by 0x10B81AE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==31783==    by 0x10B4EA8: execute_ex (zend_vm_execute.h:352)
==31783==    by 0x10B5B26: zend_execute (zend_vm_execute.h:381)
==31783==    by 0x100CE9D: zend_execute_scripts (zend.c:1268)
==31783==    by 0xF13AC7: php_execute_script (main.c:2554)
==31783==    by 0x11C74FD: do_cli (php_cli.c:982)
==31783==    by 0x11C8F74: main (php_cli.c:1361)
==31783== 
==31783== Conditional jump or move depends on uninitialised value(s)
==31783==    at 0x9DF2DC: odbc_bindcols (php_odbc.c:991)
==31783==    by 0x9EA276: zif_odbc_tables (php_odbc.c:3113)
==31783==    by 0x10B81AE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==31783==    by 0x10B4EA8: execute_ex (zend_vm_execute.h:352)
==31783==    by 0x10B5B26: zend_execute (zend_vm_execute.h:381)
==31783==    by 0x100CE9D: zend_execute_scripts (zend.c:1268)
==31783==    by 0xF13AC7: php_execute_script (main.c:2554)
==31783==    by 0x11C74FD: do_cli (php_cli.c:982)
==31783==    by 0x11C8F74: main (php_cli.c:1361)
==31783== 

 

Generated at Sun, 18 Jan 2015 09:00:55 +0000 (7 days ago)

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