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

==30835== Conditional jump or move depends on uninitialised value(s)
==30835==    at 0x9D2F6A: odbc_bindcols (php_odbc.c:966)
==30835==    by 0x9DE4DF: zif_odbc_columns (php_odbc.c:3188)
==30835==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==30835==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==30835==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==30835==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==30835==    by 0xEFB401: php_execute_script (main.c:2563)
==30835==    by 0x1215833: do_cli (php_cli.c:978)
==30835==    by 0x12172AA: main (php_cli.c:1356)
==30835== 
==30835== Conditional jump or move depends on uninitialised value(s)
==30835==    at 0x9D3044: odbc_bindcols (php_odbc.c:997)
==30835==    by 0x9DE4DF: zif_odbc_columns (php_odbc.c:3188)
==30835==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==30835==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==30835==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==30835==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==30835==    by 0xEFB401: php_execute_script (main.c:2563)
==30835==    by 0x1215833: do_cli (php_cli.c:978)
==30835==    by 0x12172AA: main (php_cli.c:1356)
==30835== 

 

Generated at Sat, 22 Nov 2014 23:01:31 +0000 (5 days ago)

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