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

==31727== Conditional jump or move depends on uninitialised value(s)
==31727==    at 0xA9BC01: odbc_bindcols (php_odbc.c:972)
==31727==    by 0xAA6D0B: zif_odbc_columns (php_odbc.c:3286)
==31727==    by 0x1343C78: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==31727==    by 0x1343C78: execute_ex (zend_vm_execute.h:59734)
==31727==    by 0x136B1B2: zend_execute (zend_vm_execute.h:63760)
==31727==    by 0x10EFDDD: zend_execute_scripts (zend.c:1496)
==31727==    by 0xFE0D46: php_execute_script (main.c:2590)
==31727==    by 0x137106D: do_cli (php_cli.c:1011)
==31727==    by 0x1372AF7: main (php_cli.c:1404)
==31727== 
==31727== Conditional jump or move depends on uninitialised value(s)
==31727==    at 0xA9BE70: odbc_bindcols (php_odbc.c:1024)
==31727==    by 0xAA6D0B: zif_odbc_columns (php_odbc.c:3286)
==31727==    by 0x1343C78: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==31727==    by 0x1343C78: execute_ex (zend_vm_execute.h:59734)
==31727==    by 0x136B1B2: zend_execute (zend_vm_execute.h:63760)
==31727==    by 0x10EFDDD: zend_execute_scripts (zend.c:1496)
==31727==    by 0xFE0D46: php_execute_script (main.c:2590)
==31727==    by 0x137106D: do_cli (php_cli.c:1011)
==31727==    by 0x1372AF7: main (php_cli.c:1404)
==31727== 
==31727== Conditional jump or move depends on uninitialised value(s)
==31727==    at 0xA9BF13: odbc_bindcols (php_odbc.c:1031)
==31727==    by 0xAA6D0B: zif_odbc_columns (php_odbc.c:3286)
==31727==    by 0x1343C78: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==31727==    by 0x1343C78: execute_ex (zend_vm_execute.h:59734)
==31727==    by 0x136B1B2: zend_execute (zend_vm_execute.h:63760)
==31727==    by 0x10EFDDD: zend_execute_scripts (zend.c:1496)
==31727==    by 0xFE0D46: php_execute_script (main.c:2590)
==31727==    by 0x137106D: do_cli (php_cli.c:1011)
==31727==    by 0x1372AF7: main (php_cli.c:1404)
==31727== 
==31727== Conditional jump or move depends on uninitialised value(s)
==31727==    at 0xA9BFB6: odbc_bindcols (php_odbc.c:1038)
==31727==    by 0xAA6D0B: zif_odbc_columns (php_odbc.c:3286)
==31727==    by 0x1343C78: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==31727==    by 0x1343C78: execute_ex (zend_vm_execute.h:59734)
==31727==    by 0x136B1B2: zend_execute (zend_vm_execute.h:63760)
==31727==    by 0x10EFDDD: zend_execute_scripts (zend.c:1496)
==31727==    by 0xFE0D46: php_execute_script (main.c:2590)
==31727==    by 0x137106D: do_cli (php_cli.c:1011)
==31727==    by 0x1372AF7: main (php_cli.c:1404)
==31727== 
==31727== Use of uninitialised value of size 8
==31727==    at 0xA9BC12: odbc_bindcols (php_odbc.c:972)
==31727==    by 0xAA6D0B: zif_odbc_columns (php_odbc.c:3286)
==31727==    by 0x1343C78: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:617)
==31727==    by 0x1343C78: execute_ex (zend_vm_execute.h:59734)
==31727==    by 0x136B1B2: zend_execute (zend_vm_execute.h:63760)
==31727==    by 0x10EFDDD: zend_execute_scripts (zend.c:1496)
==31727==    by 0xFE0D46: php_execute_script (main.c:2590)
==31727==    by 0x137106D: do_cli (php_cli.c:1011)
==31727==    by 0x1372AF7: main (php_cli.c:1404)
==31727== 

 

Generated at Fri, 25 May 2018 13:51:30 +0000 (25 hours ago)

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