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

==18971== Conditional jump or move depends on uninitialised value(s)
==18971==    at 0x9BC80C: odbc_bindcols (php_odbc.c:965)
==18971==    by 0x9C7120: zif_odbc_columns (php_odbc.c:3187)
==18971==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==18971==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==18971==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==18971==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==18971==    by 0xE6FA7F: php_execute_script (main.c:2560)
==18971==    by 0x1166590: do_cli (php_cli.c:978)
==18971==    by 0x1167EB4: main (php_cli.c:1356)
==18971== 
==18971== Conditional jump or move depends on uninitialised value(s)
==18971==    at 0x9BC8E6: odbc_bindcols (php_odbc.c:996)
==18971==    by 0x9C7120: zif_odbc_columns (php_odbc.c:3187)
==18971==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==18971==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==18971==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==18971==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==18971==    by 0xE6FA7F: php_execute_script (main.c:2560)
==18971==    by 0x1166590: do_cli (php_cli.c:978)
==18971==    by 0x1167EB4: main (php_cli.c:1356)
==18971== 

 

Generated at Fri, 19 Sep 2014 17:11:23 +0000 (4 days ago)

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