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

==9748== Conditional jump or move depends on uninitialised value(s)
==9748==    at 0x9A1B36: odbc_bindcols (php_odbc.c:966)
==9748==    by 0x9ACEF8: zif_odbc_columns (php_odbc.c:3270)
==9748==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==9748==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==9748==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==9748==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==9748==    by 0xE3AAB7: php_execute_script (main.c:2475)
==9748==    by 0x113DAE2: do_cli (php_cli.c:967)
==9748==    by 0x113F551: main (php_cli.c:1334)
==9748== 
==9748== Conditional jump or move depends on uninitialised value(s)
==9748==    at 0x9A1DAB: odbc_bindcols (php_odbc.c:1018)
==9748==    by 0x9ACEF8: zif_odbc_columns (php_odbc.c:3270)
==9748==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==9748==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==9748==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==9748==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==9748==    by 0xE3AAB7: php_execute_script (main.c:2475)
==9748==    by 0x113DAE2: do_cli (php_cli.c:967)
==9748==    by 0x113F551: main (php_cli.c:1334)
==9748== 

 

Generated at Mon, 27 Jul 2015 02:32:35 +0000 (3 days ago)

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