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

==1608== Conditional jump or move depends on uninitialised value(s)
==1608==    at 0xA60202: odbc_bindcols (php_odbc.c:972)
==1608==    by 0xA6B30A: zif_odbc_columns (php_odbc.c:3286)
==1608==    by 0x10F5C34: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1608==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==1608==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==1608==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==1608==    by 0xF07BBE: php_execute_script (main.c:2577)
==1608==    by 0x125C620: do_cli (php_cli.c:993)
==1608==    by 0x125E0B9: main (php_cli.c:1381)
==1608== 
==1608== Conditional jump or move depends on uninitialised value(s)
==1608==    at 0xA60471: odbc_bindcols (php_odbc.c:1024)
==1608==    by 0xA6B30A: zif_odbc_columns (php_odbc.c:3286)
==1608==    by 0x10F5C34: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1608==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==1608==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==1608==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==1608==    by 0xF07BBE: php_execute_script (main.c:2577)
==1608==    by 0x125C620: do_cli (php_cli.c:993)
==1608==    by 0x125E0B9: main (php_cli.c:1381)
==1608== 
==1608== Conditional jump or move depends on uninitialised value(s)
==1608==    at 0xA60514: odbc_bindcols (php_odbc.c:1031)
==1608==    by 0xA6B30A: zif_odbc_columns (php_odbc.c:3286)
==1608==    by 0x10F5C34: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1608==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==1608==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==1608==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==1608==    by 0xF07BBE: php_execute_script (main.c:2577)
==1608==    by 0x125C620: do_cli (php_cli.c:993)
==1608==    by 0x125E0B9: main (php_cli.c:1381)
==1608== 
==1608== Conditional jump or move depends on uninitialised value(s)
==1608==    at 0xA605B7: odbc_bindcols (php_odbc.c:1038)
==1608==    by 0xA6B30A: zif_odbc_columns (php_odbc.c:3286)
==1608==    by 0x10F5C34: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1608==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==1608==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==1608==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==1608==    by 0xF07BBE: php_execute_script (main.c:2577)
==1608==    by 0x125C620: do_cli (php_cli.c:993)
==1608==    by 0x125E0B9: main (php_cli.c:1381)
==1608== 
==1608== Use of uninitialised value of size 8
==1608==    at 0xA60213: odbc_bindcols (php_odbc.c:972)
==1608==    by 0xA6B30A: zif_odbc_columns (php_odbc.c:3286)
==1608==    by 0x10F5C34: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1608==    by 0x10F2D8F: execute_ex (zend_vm_execute.h:429)
==1608==    by 0x10F397F: zend_execute (zend_vm_execute.h:474)
==1608==    by 0x101454E: zend_execute_scripts (zend.c:1482)
==1608==    by 0xF07BBE: php_execute_script (main.c:2577)
==1608==    by 0x125C620: do_cli (php_cli.c:993)
==1608==    by 0x125E0B9: main (php_cli.c:1381)
==1608== 

 

Generated at Sun, 23 Feb 2020 16:49:06 +0000 (2 days ago)

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