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

==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A3041: odbc_bindcols (php_odbc.c:964)
==5284==    by 0x8A628D: zif_odbc_exec (php_odbc.c:1639)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A311B: odbc_bindcols (php_odbc.c:985)
==5284==    by 0x8A628D: zif_odbc_exec (php_odbc.c:1639)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A8124: zif_odbc_result (php_odbc.c:2093)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A812E: zif_odbc_result (php_odbc.c:2093)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A8134: zif_odbc_result (php_odbc.c:2093)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A6736: php_odbc_fetch_hash (php_odbc.c:1722)
==5284==    by 0x8A6EA1: zif_odbc_fetch_array (php_odbc.c:1803)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A6740: php_odbc_fetch_hash (php_odbc.c:1722)
==5284==    by 0x8A6EA1: zif_odbc_fetch_array (php_odbc.c:1803)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 
==5284== Conditional jump or move depends on uninitialised value(s)
==5284==    at 0x8A6746: php_odbc_fetch_hash (php_odbc.c:1722)
==5284==    by 0x8A6EA1: zif_odbc_fetch_array (php_odbc.c:1803)
==5284==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==5284==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==5284==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==5284==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==5284==    by 0xCB9C74: php_execute_script (main.c:2316)
==5284==    by 0xEB1008: main (php_cli.c:1189)
==5284== 

 

Generated at Sun, 27 Jul 2014 12:58:43 +0000 (3 days ago)

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