php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5629 Segfaiult in ociparse
Submitted: 2000-07-16 20:59 UTC Modified: 2006-07-17 08:40 UTC
From: graeme at inetix dot com dot au Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.0 OS: Linux 2.2.14-i686
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: graeme at inetix dot com dot au
New email:
PHP Version: OS:

 

 [2000-07-16 20:59 UTC] graeme at inetix dot com dot au
Configure line is
./configure  --enable-track-vars --with-oci8=/u01/app/oracle/product/8.1.5 --enable-sigchild --with-oracle=/u01/app/oracle/product
/8.1.5 --with-mysql=/usr/local/mysql --without-pear --with-mcrypt=/usr/local --with-apache=../apache_1.3.12

Line of code is question that crashes PHP is (note missing  quote):
$sql = sprintf("UPDATE calsite SET calsite_name='%s WHERE calsite_id=%s", $calsite_name,$calsite_id);
$stmt = ociparse($db,$sql);

Backtrace:
#0  0x80b1b05 in php_if_ociparse ()
#1  0x80f70ec in execute ()
#2  0x807fc8b in php_execute_script ()
#3  0x809a840 in apache_php_module_main ()
#4  0x807c17b in send_php ()
#5  0x807c1bc in send_parsed_php ()
#6  0x8113653 in ap_invoke_handler ()
#7  0x8126b89 in ap_some_auth_required ()
#8  0x8126bec in ap_process_request ()
#9  0x811e48e in ap_child_terminate ()
#10 0x811e61c in ap_child_terminate ()
#11 0x811e779 in ap_child_terminate ()
#12 0x811eda6 in ap_child_terminate ()
#13 0x811f533 in main ()
#14 0x406059cb in __libc_start_main (main=0x811f1ec <main>, argc=2, argv=0xbffff934, init=0x8062c70 <_init>,
    fini=0x814caac <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff92c) at ../sysdeps/generic/libc-start.c:92

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-17 08:30 UTC] thies at cvs dot php dot net
fixed in current version
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 05:01:27 2025 UTC