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

==16030== Conditional jump or move depends on uninitialised value(s)
==16030==    at 0x9D300A: odbc_bindcols (php_odbc.c:966)
==16030==    by 0x9DE08C: zif_odbc_tables (php_odbc.c:3119)
==16030==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==16030==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==16030==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==16030==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==16030==    by 0xEFB4AD: php_execute_script (main.c:2563)
==16030==    by 0x1216129: do_cli (php_cli.c:978)
==16030==    by 0x1217BA0: main (php_cli.c:1356)
==16030== 
==16030== Conditional jump or move depends on uninitialised value(s)
==16030==    at 0x9D30E4: odbc_bindcols (php_odbc.c:997)
==16030==    by 0x9DE08C: zif_odbc_tables (php_odbc.c:3119)
==16030==    by 0x10A158D: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==16030==    by 0x109EF25: execute_ex (zend_vm_execute.h:352)
==16030==    by 0x109FB16: zend_execute (zend_vm_execute.h:381)
==16030==    by 0xFFA618: zend_execute_scripts (zend.c:1266)
==16030==    by 0xEFB4AD: php_execute_script (main.c:2563)
==16030==    by 0x1216129: do_cli (php_cli.c:978)
==16030==    by 0x1217BA0: main (php_cli.c:1356)
==16030== 

 

Generated at Mon, 10 Nov 2014 22:46:55 +0000 (10 days ago)

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