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

==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A3A6A: odbc_bindcols (php_odbc.c:966)
==20516==    by 0x9A6EAF: zif_odbc_exec (php_odbc.c:1684)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A3CDF: odbc_bindcols (php_odbc.c:1018)
==20516==    by 0x9A6EAF: zif_odbc_exec (php_odbc.c:1684)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A3D85: odbc_bindcols (php_odbc.c:1025)
==20516==    by 0x9A6EAF: zif_odbc_exec (php_odbc.c:1684)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A970F: zif_odbc_result (php_odbc.c:2146)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A9726: zif_odbc_result (php_odbc.c:2146)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A732E: php_odbc_fetch_hash (php_odbc.c:1766)
==20516==    by 0x9A801F: zif_odbc_fetch_array (php_odbc.c:1848)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 
==20516== Conditional jump or move depends on uninitialised value(s)
==20516==    at 0x9A7349: php_odbc_fetch_hash (php_odbc.c:1766)
==20516==    by 0x9A801F: zif_odbc_fetch_array (php_odbc.c:1848)
==20516==    by 0x1018AFC: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:577)
==20516==    by 0x1016A12: execute_ex (zend_vm_execute.h:409)
==20516==    by 0x101752B: zend_execute (zend_vm_execute.h:450)
==20516==    by 0xF4A897: zend_execute_scripts (zend.c:1404)
==20516==    by 0xE41308: php_execute_script (main.c:2475)
==20516==    by 0x114D484: do_cli (php_cli.c:971)
==20516==    by 0x114EF08: main (php_cli.c:1338)
==20516== 

 

Generated at Tue, 25 Aug 2015 07:24:34 +0000 (3 days ago)

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