php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2003 httpd dies with Segmentation fault
Submitted: 1999-08-09 09:20 UTC Modified: 1999-09-27 10:23 UTC
From: teo at digiro dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (09/08/1999) OS: RH6.0
Private report: No CVE-ID: None
 [1999-08-09 09:20 UTC] teo at digiro dot net
oh, btw, Apache 1.3.8-dev
(gdb) run -X
Starting program: /opt/apache2/bin/./httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x8095191 in php3api_var_unserialize (rval=0xbfffe43c, p=0xbfffda4c, max=0x4019f03c "") at var.c:314
314                                     (*rval)->type = IS_LONG;
(gdb) list
309                             }
310                             (*p)++;
311                             if (cur == 'b') {
312                                     (*rval)->type = IS_BOOL;
313                             } else {
314                                     (*rval)->type = IS_LONG;
315                             }
316                             INIT_PZVAL(*rval);
317                             (*rval)->value.lval = atol(q + 2);
318                             return 1;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-27 10:23 UTC] andrey at cvs dot php dot net
Please, update from CVS and try again.
Resubmit this problem, including script that causes the crash,
if this still happens for you in the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 05:01:30 2024 UTC