PHP  
 PHP_5_4
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

==2151== Conditional jump or move depends on uninitialised value(s)
==2151==    at 0x8DCFAA: odbc_bindcols (php_odbc.c:971)
==2151==    by 0x8E74FF: zif_odbc_columns (php_odbc.c:3215)
==2151==    by 0xDE3E43: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==2151==    by 0xDEDFE3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==2151==    by 0xDE1F9F: execute (zend_vm_execute.h:410)
==2151==    by 0xD85F4C: zend_execute_scripts (zend.c:1329)
==2151==    by 0xCB812D: php_execute_script (main.c:2502)
==2151==    by 0xF54090: do_cli (php_cli.c:989)
==2151==    by 0xF556CD: main (php_cli.c:1365)
==2151== 
==2151== Conditional jump or move depends on uninitialised value(s)
==2151==    at 0x8DD084: odbc_bindcols (php_odbc.c:1002)
==2151==    by 0x8E74FF: zif_odbc_columns (php_odbc.c:3215)
==2151==    by 0xDE3E43: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==2151==    by 0xDEDFE3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==2151==    by 0xDE1F9F: execute (zend_vm_execute.h:410)
==2151==    by 0xD85F4C: zend_execute_scripts (zend.c:1329)
==2151==    by 0xCB812D: php_execute_script (main.c:2502)
==2151==    by 0xF54090: do_cli (php_cli.c:989)
==2151==    by 0xF556CD: main (php_cli.c:1365)
==2151== 

 

Generated at Tue, 31 Mar 2015 02:21:45 +0000 (6 hours ago)

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