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

==9824== Conditional jump or move depends on uninitialised value(s)
==9824==    at 0xAEAEEC: odbc_bindcols (php_odbc.c:968)
==9824==    by 0xAF6096: zif_odbc_columns (php_odbc.c:3233)
==9824==    by 0x136C062: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:690)
==9824==    by 0x136C062: execute_ex (zend_vm_execute.h:54894)
==9824==    by 0x1393C02: zend_execute (zend_vm_execute.h:60326)
==9824==    by 0x11497BA: zend_execute_scripts (zend.c:1564)
==9824==    by 0x10389BB: php_execute_script (main.c:2608)
==9824==    by 0x139993E: do_cli (php_cli.c:1002)
==9824==    by 0x139B3FC: main (php_cli.c:1395)
==9824== 
==9824== Conditional jump or move depends on uninitialised value(s)
==9824==    at 0xAEB15B: odbc_bindcols (php_odbc.c:1020)
==9824==    by 0xAF6096: zif_odbc_columns (php_odbc.c:3233)
==9824==    by 0x136C062: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:690)
==9824==    by 0x136C062: execute_ex (zend_vm_execute.h:54894)
==9824==    by 0x1393C02: zend_execute (zend_vm_execute.h:60326)
==9824==    by 0x11497BA: zend_execute_scripts (zend.c:1564)
==9824==    by 0x10389BB: php_execute_script (main.c:2608)
==9824==    by 0x139993E: do_cli (php_cli.c:1002)
==9824==    by 0x139B3FC: main (php_cli.c:1395)
==9824== 
==9824== Conditional jump or move depends on uninitialised value(s)
==9824==    at 0xAEB1FE: odbc_bindcols (php_odbc.c:1027)
==9824==    by 0xAF6096: zif_odbc_columns (php_odbc.c:3233)
==9824==    by 0x136C062: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:690)
==9824==    by 0x136C062: execute_ex (zend_vm_execute.h:54894)
==9824==    by 0x1393C02: zend_execute (zend_vm_execute.h:60326)
==9824==    by 0x11497BA: zend_execute_scripts (zend.c:1564)
==9824==    by 0x10389BB: php_execute_script (main.c:2608)
==9824==    by 0x139993E: do_cli (php_cli.c:1002)
==9824==    by 0x139B3FC: main (php_cli.c:1395)
==9824== 
==9824== Conditional jump or move depends on uninitialised value(s)
==9824==    at 0xAEB2A1: odbc_bindcols (php_odbc.c:1034)
==9824==    by 0xAF6096: zif_odbc_columns (php_odbc.c:3233)
==9824==    by 0x136C062: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:690)
==9824==    by 0x136C062: execute_ex (zend_vm_execute.h:54894)
==9824==    by 0x1393C02: zend_execute (zend_vm_execute.h:60326)
==9824==    by 0x11497BA: zend_execute_scripts (zend.c:1564)
==9824==    by 0x10389BB: php_execute_script (main.c:2608)
==9824==    by 0x139993E: do_cli (php_cli.c:1002)
==9824==    by 0x139B3FC: main (php_cli.c:1395)
==9824== 
==9824== Use of uninitialised value of size 8
==9824==    at 0xAEAEFD: odbc_bindcols (php_odbc.c:968)
==9824==    by 0xAF6096: zif_odbc_columns (php_odbc.c:3233)
==9824==    by 0x136C062: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:690)
==9824==    by 0x136C062: execute_ex (zend_vm_execute.h:54894)
==9824==    by 0x1393C02: zend_execute (zend_vm_execute.h:60326)
==9824==    by 0x11497BA: zend_execute_scripts (zend.c:1564)
==9824==    by 0x10389BB: php_execute_script (main.c:2608)
==9824==    by 0x139993E: do_cli (php_cli.c:1002)
==9824==    by 0x139B3FC: main (php_cli.c:1395)
==9824== 

 

Generated at Mon, 23 Jul 2018 04:51:16 +0000 (1 hour ago)

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