PHP 4.0 Bug #5629: Segfaiult in ociparse
| From: | graeme at inetix dot com dot au | Date: | Mon, 17 Jul 2000 00:59:00 +0000 |
| Subject: | PHP 4.0 Bug #5629: Segfaiult in ociparse | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24689@lists.php.net to get a copy of this message | ||
From: graeme@inetix.com.au
Operating system: Linux 2.2.14-i686
PHP version: 4.0.0
PHP Bug Type: Oracle related
Bug description: Segfaiult in ociparse
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