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_tables_001.phpt ('odbc_tables(): Basic test')

Script

1: <?php
2:
3:
include 'config.inc';
4:
5:
$conn odbc_connect($dsn$user$pass);
6:
7:
var_dump($result odbc_tables($conn''''''''));
8:
var_dump(odbc_fetch_row($result));
9:
10:
var_dump($result odbc_tables($connNULLNULLNULLNULL));
11:
var_dump(odbc_fetch_row($result));
12:
13:
var_dump($result odbc_tables($conn'FOO''FOO''FOO''FOO'));
14:
var_dump(odbc_fetch_row($result));
15:
16:
17:
?>
18:

Report

==31272== Conditional jump or move depends on uninitialised value(s)
==31272==    at 0x96F390: odbc_bindcols (php_odbc.c:964)
==31272==    by 0x9794C1: zif_odbc_tables (php_odbc.c:3107)
==31272==    by 0xEC4CB9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==31272==    by 0xED079A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==31272==    by 0xEC2745: execute_ex (zend_vm_execute.h:363)
==31272==    by 0xEC32E8: zend_execute (zend_vm_execute.h:388)
==31272==    by 0xE58480: zend_execute_scripts (zend.c:1330)
==31272==    by 0xD79282: php_execute_script (main.c:2549)
==31272==    by 0x100ACEE: do_cli (php_cli.c:994)
==31272==    by 0x100C49B: main (php_cli.c:1378)
==31272== 
==31272== Conditional jump or move depends on uninitialised value(s)
==31272==    at 0x96F454: odbc_bindcols (php_odbc.c:985)
==31272==    by 0x9794C1: zif_odbc_tables (php_odbc.c:3107)
==31272==    by 0xEC4CB9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==31272==    by 0xED079A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2595)
==31272==    by 0xEC2745: execute_ex (zend_vm_execute.h:363)
==31272==    by 0xEC32E8: zend_execute (zend_vm_execute.h:388)
==31272==    by 0xE58480: zend_execute_scripts (zend.c:1330)
==31272==    by 0xD79282: php_execute_script (main.c:2549)
==31272==    by 0x100ACEE: do_cli (php_cli.c:994)
==31272==    by 0x100C49B: main (php_cli.c:1378)
==31272== 

 

Generated at Tue, 22 Jul 2014 01:33:26 +0000 (8 days ago)

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