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

==17611== Conditional jump or move depends on uninitialised value(s)
==17611==    at 0xAEB2A2: odbc_bindcols (php_odbc.c:968)
==17611==    by 0xAF64D0: zif_odbc_columns (php_odbc.c:3237)
==17611==    by 0x135B54E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:688)
==17611==    by 0x135B54E: execute_ex (zend_vm_execute.h:54817)
==17611==    by 0x1383017: zend_execute (zend_vm_execute.h:60001)
==17611==    by 0x113B371: zend_execute_scripts (zend.c:1566)
==17611==    by 0x102A06F: php_execute_script (main.c:2467)
==17611==    by 0x1388BF6: do_cli (php_cli.c:1011)
==17611==    by 0x138A6B4: main (php_cli.c:1404)
==17611== 
==17611== Conditional jump or move depends on uninitialised value(s)
==17611==    at 0xAEB511: odbc_bindcols (php_odbc.c:1020)
==17611==    by 0xAF64D0: zif_odbc_columns (php_odbc.c:3237)
==17611==    by 0x135B54E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:688)
==17611==    by 0x135B54E: execute_ex (zend_vm_execute.h:54817)
==17611==    by 0x1383017: zend_execute (zend_vm_execute.h:60001)
==17611==    by 0x113B371: zend_execute_scripts (zend.c:1566)
==17611==    by 0x102A06F: php_execute_script (main.c:2467)
==17611==    by 0x1388BF6: do_cli (php_cli.c:1011)
==17611==    by 0x138A6B4: main (php_cli.c:1404)
==17611== 
==17611== Conditional jump or move depends on uninitialised value(s)
==17611==    at 0xAEB5B4: odbc_bindcols (php_odbc.c:1027)
==17611==    by 0xAF64D0: zif_odbc_columns (php_odbc.c:3237)
==17611==    by 0x135B54E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:688)
==17611==    by 0x135B54E: execute_ex (zend_vm_execute.h:54817)
==17611==    by 0x1383017: zend_execute (zend_vm_execute.h:60001)
==17611==    by 0x113B371: zend_execute_scripts (zend.c:1566)
==17611==    by 0x102A06F: php_execute_script (main.c:2467)
==17611==    by 0x1388BF6: do_cli (php_cli.c:1011)
==17611==    by 0x138A6B4: main (php_cli.c:1404)
==17611== 
==17611== Conditional jump or move depends on uninitialised value(s)
==17611==    at 0xAEB657: odbc_bindcols (php_odbc.c:1034)
==17611==    by 0xAF64D0: zif_odbc_columns (php_odbc.c:3237)
==17611==    by 0x135B54E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:688)
==17611==    by 0x135B54E: execute_ex (zend_vm_execute.h:54817)
==17611==    by 0x1383017: zend_execute (zend_vm_execute.h:60001)
==17611==    by 0x113B371: zend_execute_scripts (zend.c:1566)
==17611==    by 0x102A06F: php_execute_script (main.c:2467)
==17611==    by 0x1388BF6: do_cli (php_cli.c:1011)
==17611==    by 0x138A6B4: main (php_cli.c:1404)
==17611== 
==17611== Use of uninitialised value of size 8
==17611==    at 0xAEB2B3: odbc_bindcols (php_odbc.c:968)
==17611==    by 0xAF64D0: zif_odbc_columns (php_odbc.c:3237)
==17611==    by 0x135B54E: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:688)
==17611==    by 0x135B54E: execute_ex (zend_vm_execute.h:54817)
==17611==    by 0x1383017: zend_execute (zend_vm_execute.h:60001)
==17611==    by 0x113B371: zend_execute_scripts (zend.c:1566)
==17611==    by 0x102A06F: php_execute_script (main.c:2467)
==17611==    by 0x1388BF6: do_cli (php_cli.c:1011)
==17611==    by 0x138A6B4: main (php_cli.c:1404)
==17611== 

 

Generated at Wed, 23 May 2018 02:31:34 +0000 (3 days ago)

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