Re: [PHP-DEV] Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump

2001-11-15 Thread Yasuo Ohgaki
Derick Rethans wrote: > Hello, > > On Thu, 15 Nov 2001, Yasuo Ohgaki wrote: > > >>Suggested fix. >> > > This fixes the symtom, not the problem > Ok. I thought _get_zval_ptr() may return NULL when array element is not initilized. I leave this problem for real php hackers :) -- Yasuo O

[PHP-DEV] Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump

2001-11-14 Thread Yasuo Ohgaki
Suggested fix. Index: zend_execute.c === RCS file: /repository/Zend/zend_execute.c,v retrieving revision 1.282.2.3 diff -u -r1.282.2.3 zend_execute.c --- zend_execute.c 2001/08/30 12:06:50 1.282.2.3 +++ zend_execute.c 20

[PHP-DEV] Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump

2001-11-14 Thread Yasuo Ohgaki
Forgot to attach backtrace. (4.1.0RC2 CGI) Yasuo Ohgaki (gdb) run test.php Program received signal SIGSEGV, Segmentation fault. 0x08178582 in execute (op_array=0x82281dc) at ./zend_execute.c:2201 (gdb) bt #0 0x08178582 in execute (op_array=0x82281dc) at ./zend_execute.c:2201 #1 0x0815574e in z

[PHP-DEV] Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump

2001-11-14 Thread Yasuo Ohgaki
Reproduced on 4.1.0RC2 and 4.2.0 CVS. -- Yasuo Ohgaki [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: FreeBSD 4.4-STABLE > PHP version: 4.0CVS-2001-11-14 > PHP Bug Type: Reproducible crash > Bug description: unset($array[]) causes apache 1.3.20 to cor