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

==9004== Conditional jump or move depends on uninitialised value(s)
==9004==    at 0xAC884A: odbc_bindcols (php_odbc.c:972)
==9004==    by 0xAD397F: zif_odbc_columns (php_odbc.c:3289)
==9004==    by 0x13752DC: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:621)
==9004==    by 0x13752DC: execute_ex (zend_vm_execute.h:59778)
==9004==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==9004==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==9004==    by 0x10102D4: php_execute_script (main.c:2599)
==9004==    by 0x13A27A9: do_cli (php_cli.c:1011)
==9004==    by 0x13A4233: main (php_cli.c:1403)
==9004== 
==9004== Conditional jump or move depends on uninitialised value(s)
==9004==    at 0xAC8AB9: odbc_bindcols (php_odbc.c:1024)
==9004==    by 0xAD397F: zif_odbc_columns (php_odbc.c:3289)
==9004==    by 0x13752DC: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:621)
==9004==    by 0x13752DC: execute_ex (zend_vm_execute.h:59778)
==9004==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==9004==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==9004==    by 0x10102D4: php_execute_script (main.c:2599)
==9004==    by 0x13A27A9: do_cli (php_cli.c:1011)
==9004==    by 0x13A4233: main (php_cli.c:1403)
==9004== 
==9004== Conditional jump or move depends on uninitialised value(s)
==9004==    at 0xAC8B5C: odbc_bindcols (php_odbc.c:1031)
==9004==    by 0xAD397F: zif_odbc_columns (php_odbc.c:3289)
==9004==    by 0x13752DC: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:621)
==9004==    by 0x13752DC: execute_ex (zend_vm_execute.h:59778)
==9004==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==9004==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==9004==    by 0x10102D4: php_execute_script (main.c:2599)
==9004==    by 0x13A27A9: do_cli (php_cli.c:1011)
==9004==    by 0x13A4233: main (php_cli.c:1403)
==9004== 
==9004== Conditional jump or move depends on uninitialised value(s)
==9004==    at 0xAC8BFF: odbc_bindcols (php_odbc.c:1038)
==9004==    by 0xAD397F: zif_odbc_columns (php_odbc.c:3289)
==9004==    by 0x13752DC: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:621)
==9004==    by 0x13752DC: execute_ex (zend_vm_execute.h:59778)
==9004==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==9004==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==9004==    by 0x10102D4: php_execute_script (main.c:2599)
==9004==    by 0x13A27A9: do_cli (php_cli.c:1011)
==9004==    by 0x13A4233: main (php_cli.c:1403)
==9004== 
==9004== Use of uninitialised value of size 8
==9004==    at 0xAC885B: odbc_bindcols (php_odbc.c:972)
==9004==    by 0xAD397F: zif_odbc_columns (php_odbc.c:3289)
==9004==    by 0x13752DC: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:621)
==9004==    by 0x13752DC: execute_ex (zend_vm_execute.h:59778)
==9004==    by 0x139C8EE: zend_execute (zend_vm_execute.h:63804)
==9004==    by 0x1120677: zend_execute_scripts (zend.c:1498)
==9004==    by 0x10102D4: php_execute_script (main.c:2599)
==9004==    by 0x13A27A9: do_cli (php_cli.c:1011)
==9004==    by 0x13A4233: main (php_cli.c:1403)
==9004== 

 

Generated at Fri, 16 Oct 2020 02:28:14 +0000 (5 days ago)

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