php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40505 redirect.php of squirrelmail 1.4.9a crashes php (cgi) if register_globals is on
Submitted: 2007-02-16 10:02 UTC Modified: 2007-02-16 10:17 UTC
From: php-bug at test-2 dot de Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.4.5 OS: Linux
Private report: No CVE-ID:
 [2007-02-16 10:02 UTC] php-bug at test-2 dot de
Description:
------------
ext/session/session.c:287

Reproduce code:
---------------
php redirect.php (of squirrelmail 1.4.9a)

Expected result:
----------------
don't segfault

Actual result:
--------------
Starting program: ./php redirect.php

Program received signal SIGSEGV, Segmentation fault.

(gdb) bt
#0  0x08126396 in php_add_session_var (name=0x854ba3c "sq_base_url", 
    namelen=11)
at (...) php-4.4.5/ext/session/session.c:287


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-16 10:17 UTC] tony2001@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 14:01:50 2014 UTC