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

==3934== Conditional jump or move depends on uninitialised value(s)
==3934==    at 0xA6B446: odbc_bindcols (php_odbc.c:972)
==3934==    by 0xA764D4: zif_odbc_columns (php_odbc.c:3279)
==3934==    by 0x119953E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:664)
==3934==    by 0x11969F8: execute_ex (zend_vm_execute.h:432)
==3934==    by 0x1197645: zend_execute (zend_vm_execute.h:474)
==3934==    by 0x10B9967: zend_execute_scripts (zend.c:1544)
==3934==    by 0xFADF72: php_execute_script (main.c:2557)
==3934==    by 0x13049E9: do_cli (php_cli.c:997)
==3934==    by 0x130639D: main (php_cli.c:1390)
==3934== 
==3934== Conditional jump or move depends on uninitialised value(s)
==3934==    at 0xA6B6BB: odbc_bindcols (php_odbc.c:1024)
==3934==    by 0xA764D4: zif_odbc_columns (php_odbc.c:3279)
==3934==    by 0x119953E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:664)
==3934==    by 0x11969F8: execute_ex (zend_vm_execute.h:432)
==3934==    by 0x1197645: zend_execute (zend_vm_execute.h:474)
==3934==    by 0x10B9967: zend_execute_scripts (zend.c:1544)
==3934==    by 0xFADF72: php_execute_script (main.c:2557)
==3934==    by 0x13049E9: do_cli (php_cli.c:997)
==3934==    by 0x130639D: main (php_cli.c:1390)
==3934== 
==3934== Conditional jump or move depends on uninitialised value(s)
==3934==    at 0xA6B761: odbc_bindcols (php_odbc.c:1031)
==3934==    by 0xA764D4: zif_odbc_columns (php_odbc.c:3279)
==3934==    by 0x119953E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:664)
==3934==    by 0x11969F8: execute_ex (zend_vm_execute.h:432)
==3934==    by 0x1197645: zend_execute (zend_vm_execute.h:474)
==3934==    by 0x10B9967: zend_execute_scripts (zend.c:1544)
==3934==    by 0xFADF72: php_execute_script (main.c:2557)
==3934==    by 0x13049E9: do_cli (php_cli.c:997)
==3934==    by 0x130639D: main (php_cli.c:1390)
==3934== 

 

Generated at Mon, 20 Feb 2017 09:11:13 +0000 (2 days ago)

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