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_columns_001.phpt ('odbc_columns(): Basic test')

Script

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

Report

==3414== Conditional jump or move depends on uninitialised value(s)
==3414==    at 0x9EC92A: odbc_bindcols (php_odbc.c:960)
==3414==    by 0x9F7EA9: zif_odbc_columns (php_odbc.c:3183)
==3414==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==3414==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==3414==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==3414==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==3414==    by 0xF230B5: php_execute_script (main.c:2554)
==3414==    by 0x11D62F9: do_cli (php_cli.c:982)
==3414==    by 0x11D7D7A: main (php_cli.c:1361)
==3414== 
==3414== Conditional jump or move depends on uninitialised value(s)
==3414==    at 0x9ECA04: odbc_bindcols (php_odbc.c:991)
==3414==    by 0x9F7EA9: zif_odbc_columns (php_odbc.c:3183)
==3414==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==3414==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==3414==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==3414==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==3414==    by 0xF230B5: php_execute_script (main.c:2554)
==3414==    by 0x11D62F9: do_cli (php_cli.c:982)
==3414==    by 0x11D7D7A: main (php_cli.c:1361)
==3414== 

 

Generated at Mon, 26 Jan 2015 14:47:00 +0000 (3 hours ago)

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