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

==30422== Conditional jump or move depends on uninitialised value(s)
==30422==    at 0x9D11E1: odbc_bindcols (php_odbc.c:982)
==30422==    by 0x9DB95A: zif_odbc_columns (php_odbc.c:3243)
==30422==    by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30422==    by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30422==    by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30422==    by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30422==    by 0xED8585: zend_execute_scripts (zend.c:1341)
==30422==    by 0xDF831C: php_execute_script (main.c:2613)
==30422==    by 0x1089EB6: do_cli (php_cli.c:998)
==30422==    by 0x108B79B: main (php_cli.c:1382)
==30422== 
==30422== Conditional jump or move depends on uninitialised value(s)
==30422==    at 0x9D134B: odbc_bindcols (php_odbc.c:1022)
==30422==    by 0x9DB95A: zif_odbc_columns (php_odbc.c:3243)
==30422==    by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30422==    by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30422==    by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30422==    by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30422==    by 0xED8585: zend_execute_scripts (zend.c:1341)
==30422==    by 0xDF831C: php_execute_script (main.c:2613)
==30422==    by 0x1089EB6: do_cli (php_cli.c:998)
==30422==    by 0x108B79B: main (php_cli.c:1382)
==30422== 
==30422== Conditional jump or move depends on uninitialised value(s)
==30422==    at 0x9D13E5: odbc_bindcols (php_odbc.c:1029)
==30422==    by 0x9DB95A: zif_odbc_columns (php_odbc.c:3243)
==30422==    by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30422==    by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30422==    by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30422==    by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30422==    by 0xED8585: zend_execute_scripts (zend.c:1341)
==30422==    by 0xDF831C: php_execute_script (main.c:2613)
==30422==    by 0x1089EB6: do_cli (php_cli.c:998)
==30422==    by 0x108B79B: main (php_cli.c:1382)
==30422== 
==30422== Use of uninitialised value of size 8
==30422==    at 0x9D11F2: odbc_bindcols (php_odbc.c:982)
==30422==    by 0x9DB95A: zif_odbc_columns (php_odbc.c:3243)
==30422==    by 0xF44E9F: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==30422==    by 0xF50662: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==30422==    by 0xF429CD: execute_ex (zend_vm_execute.h:363)
==30422==    by 0xF435A6: zend_execute (zend_vm_execute.h:388)
==30422==    by 0xED8585: zend_execute_scripts (zend.c:1341)
==30422==    by 0xDF831C: php_execute_script (main.c:2613)
==30422==    by 0x1089EB6: do_cli (php_cli.c:998)
==30422==    by 0x108B79B: main (php_cli.c:1382)
==30422== 

 

Generated at Wed, 25 Apr 2018 20:18:17 +0000 (19 hours ago)

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