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

==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3B8FE: odbc_bindcols (php_odbc.c:972)
==1120==    by 0xA3EE49: zif_odbc_exec (php_odbc.c:1699)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3BB73: odbc_bindcols (php_odbc.c:1024)
==1120==    by 0xA3EE49: zif_odbc_exec (php_odbc.c:1699)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3BC19: odbc_bindcols (php_odbc.c:1031)
==1120==    by 0xA3EE49: zif_odbc_exec (php_odbc.c:1699)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3BCBF: odbc_bindcols (php_odbc.c:1038)
==1120==    by 0xA3EE49: zif_odbc_exec (php_odbc.c:1699)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA413EB: zif_odbc_result (php_odbc.c:2161)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA41402: zif_odbc_result (php_odbc.c:2161)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3F2C8: php_odbc_fetch_hash (php_odbc.c:1781)
==1120==    by 0xA3FE5A: zif_odbc_fetch_array (php_odbc.c:1863)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 
==1120== Conditional jump or move depends on uninitialised value(s)
==1120==    at 0xA3F2E3: php_odbc_fetch_hash (php_odbc.c:1781)
==1120==    by 0xA3FE5A: zif_odbc_fetch_array (php_odbc.c:1863)
==1120==    by 0x10CC992: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==1120==    by 0x10C9BAA: execute_ex (zend_vm_execute.h:432)
==1120==    by 0x10CA7F7: zend_execute (zend_vm_execute.h:474)
==1120==    by 0xFEC91C: zend_execute_scripts (zend.c:1482)
==1120==    by 0xEE08F8: php_execute_script (main.c:2577)
==1120==    by 0x12337D9: do_cli (php_cli.c:993)
==1120==    by 0x1235180: main (php_cli.c:1381)
==1120== 

 

Generated at Tue, 20 Feb 2018 21:45:24 +0000 (33 hours ago)

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