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

==24458== Conditional jump or move depends on uninitialised value(s)
==24458==    at 0xA3AC15: odbc_bindcols (php_odbc.c:972)
==24458==    by 0xA45D1D: zif_odbc_columns (php_odbc.c:3286)
==24458==    by 0x10D1EAB: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==24458==    by 0x10CF006: execute_ex (zend_vm_execute.h:429)
==24458==    by 0x10CFBF6: zend_execute (zend_vm_execute.h:474)
==24458==    by 0xFF096D: zend_execute_scripts (zend.c:1482)
==24458==    by 0xEE421D: php_execute_script (main.c:2577)
==24458==    by 0x1238CCC: do_cli (php_cli.c:993)
==24458==    by 0x123A765: main (php_cli.c:1381)
==24458== 
==24458== Conditional jump or move depends on uninitialised value(s)
==24458==    at 0xA3AE84: odbc_bindcols (php_odbc.c:1024)
==24458==    by 0xA45D1D: zif_odbc_columns (php_odbc.c:3286)
==24458==    by 0x10D1EAB: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==24458==    by 0x10CF006: execute_ex (zend_vm_execute.h:429)
==24458==    by 0x10CFBF6: zend_execute (zend_vm_execute.h:474)
==24458==    by 0xFF096D: zend_execute_scripts (zend.c:1482)
==24458==    by 0xEE421D: php_execute_script (main.c:2577)
==24458==    by 0x1238CCC: do_cli (php_cli.c:993)
==24458==    by 0x123A765: main (php_cli.c:1381)
==24458== 
==24458== Conditional jump or move depends on uninitialised value(s)
==24458==    at 0xA3AF27: odbc_bindcols (php_odbc.c:1031)
==24458==    by 0xA45D1D: zif_odbc_columns (php_odbc.c:3286)
==24458==    by 0x10D1EAB: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==24458==    by 0x10CF006: execute_ex (zend_vm_execute.h:429)
==24458==    by 0x10CFBF6: zend_execute (zend_vm_execute.h:474)
==24458==    by 0xFF096D: zend_execute_scripts (zend.c:1482)
==24458==    by 0xEE421D: php_execute_script (main.c:2577)
==24458==    by 0x1238CCC: do_cli (php_cli.c:993)
==24458==    by 0x123A765: main (php_cli.c:1381)
==24458== 
==24458== Conditional jump or move depends on uninitialised value(s)
==24458==    at 0xA3AFCA: odbc_bindcols (php_odbc.c:1038)
==24458==    by 0xA45D1D: zif_odbc_columns (php_odbc.c:3286)
==24458==    by 0x10D1EAB: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==24458==    by 0x10CF006: execute_ex (zend_vm_execute.h:429)
==24458==    by 0x10CFBF6: zend_execute (zend_vm_execute.h:474)
==24458==    by 0xFF096D: zend_execute_scripts (zend.c:1482)
==24458==    by 0xEE421D: php_execute_script (main.c:2577)
==24458==    by 0x1238CCC: do_cli (php_cli.c:993)
==24458==    by 0x123A765: main (php_cli.c:1381)
==24458== 
==24458== Use of uninitialised value of size 8
==24458==    at 0xA3AC26: odbc_bindcols (php_odbc.c:972)
==24458==    by 0xA45D1D: zif_odbc_columns (php_odbc.c:3286)
==24458==    by 0x10D1EAB: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==24458==    by 0x10CF006: execute_ex (zend_vm_execute.h:429)
==24458==    by 0x10CFBF6: zend_execute (zend_vm_execute.h:474)
==24458==    by 0xFF096D: zend_execute_scripts (zend.c:1482)
==24458==    by 0xEE421D: php_execute_script (main.c:2577)
==24458==    by 0x1238CCC: do_cli (php_cli.c:993)
==24458==    by 0x123A765: main (php_cli.c:1381)
==24458== 

 

Generated at Sat, 28 Jul 2018 01:57:30 +0000 (23 days ago)

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