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_exec_002.phpt ('odbc_exec(): Getting data from query')

Script

1: <?php
2:
3:
include 'config.inc';
4:
5:
$conn odbc_connect($dsn$user$pass);
6:
7:
odbc_exec($conn'CREATE DATABASE odbcTEST');
8:
9:
odbc_exec($conn'CREATE TABLE FOO (TEST INT)');
10:
11:
odbc_exec($conn'INSERT INTO FOO VALUES (1)');
12:
odbc_exec($conn'INSERT INTO FOO VALUES (2)');
13:
14:
$res odbc_exec($conn'SELECT * FROM FOO');
15:
16:
var_dump(odbc_fetch_row($res));
17:
var_dump(odbc_result($res'test'));
18:
var_dump(odbc_fetch_array($res));
19:
20:
odbc_exec($conn'DROP TABLE FOO');
21:
22:
odbc_exec($conn'DROP DATABASE odbcTEST');
23:
24:
?>
25:

Report

==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93A71C: odbc_bindcols (php_odbc.c:964)
==15318==    by 0x93DD34: zif_odbc_exec (php_odbc.c:1633)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93A7F6: odbc_bindcols (php_odbc.c:985)
==15318==    by 0x93DD34: zif_odbc_exec (php_odbc.c:1633)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93FDC3: zif_odbc_result (php_odbc.c:2087)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93FDCD: zif_odbc_result (php_odbc.c:2087)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93FDD3: zif_odbc_result (php_odbc.c:2087)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93E224: php_odbc_fetch_hash (php_odbc.c:1716)
==15318==    by 0x93E9B0: zif_odbc_fetch_array (php_odbc.c:1797)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93E22E: php_odbc_fetch_hash (php_odbc.c:1716)
==15318==    by 0x93E9B0: zif_odbc_fetch_array (php_odbc.c:1797)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 
==15318== Conditional jump or move depends on uninitialised value(s)
==15318==    at 0x93E234: php_odbc_fetch_hash (php_odbc.c:1716)
==15318==    by 0x93E9B0: zif_odbc_fetch_array (php_odbc.c:1797)
==15318==    by 0xE742A2: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:547)
==15318==    by 0xE7DEB7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2326)
==15318==    by 0xE71E6D: execute_ex (zend_vm_execute.h:356)
==15318==    by 0xE729FF: zend_execute (zend_vm_execute.h:381)
==15318==    by 0xE1009E: zend_execute_scripts (zend.c:1316)
==15318==    by 0xD33BB3: php_execute_script (main.c:2481)
==15318==    by 0xFCEB10: do_cli (php_cli.c:993)
==15318==    by 0xFD02BD: main (php_cli.c:1377)
==15318== 

 

Generated at Mon, 10 Jun 2013 15:00:26 +0000 (9 days ago)

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