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

==1251== Conditional jump or move depends on uninitialised value(s)
==1251==    at 0x9D3AA1: odbc_bindcols (php_odbc.c:965)
==1251==    by 0x9DEF43: zif_odbc_columns (php_odbc.c:3187)
==1251==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==1251==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==1251==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==1251==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==1251==    by 0xEFCD74: php_execute_script (main.c:2560)
==1251==    by 0x11FDB1D: do_cli (php_cli.c:978)
==1251==    by 0x11FF599: main (php_cli.c:1356)
==1251== 
==1251== Conditional jump or move depends on uninitialised value(s)
==1251==    at 0x9D3B7B: odbc_bindcols (php_odbc.c:996)
==1251==    by 0x9DEF43: zif_odbc_columns (php_odbc.c:3187)
==1251==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==1251==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==1251==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==1251==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==1251==    by 0xEFCD74: php_execute_script (main.c:2560)
==1251==    by 0x11FDB1D: do_cli (php_cli.c:978)
==1251==    by 0x11FF599: main (php_cli.c:1356)
==1251== 

 

Generated at Sat, 27 Sep 2014 16:43:25 +0000 (3 days ago)

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