PHP  
 PHP_5_4
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

==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8DCF56: odbc_bindcols (php_odbc.c:971)
==3834==    by 0x8E04E9: zif_odbc_exec (php_odbc.c:1655)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 
==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8DD030: odbc_bindcols (php_odbc.c:1002)
==3834==    by 0x8E04E9: zif_odbc_exec (php_odbc.c:1655)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 
==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8E24E5: zif_odbc_result (php_odbc.c:2116)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 
==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8E24FC: zif_odbc_result (php_odbc.c:2116)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 
==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8E09CB: php_odbc_fetch_hash (php_odbc.c:1738)
==3834==    by 0x8E112B: zif_odbc_fetch_array (php_odbc.c:1822)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 
==3834== Conditional jump or move depends on uninitialised value(s)
==3834==    at 0x8E09E2: php_odbc_fetch_hash (php_odbc.c:1738)
==3834==    by 0x8E112B: zif_odbc_fetch_array (php_odbc.c:1822)
==3834==    by 0xDE360B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==3834==    by 0xDED7AB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==3834==    by 0xDE1767: execute (zend_vm_execute.h:410)
==3834==    by 0xD85714: zend_execute_scripts (zend.c:1329)
==3834==    by 0xCB78F5: php_execute_script (main.c:2502)
==3834==    by 0xF53858: do_cli (php_cli.c:989)
==3834==    by 0xF54E95: main (php_cli.c:1365)
==3834== 

 

Generated at Tue, 03 Mar 2015 22:20:43 +0000 (12 hours ago)

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