From:             php-bug at test-2 dot de
Operating system: Linux
PHP version:      4.4.5
PHP Bug Type:     Reproducible crash
Bug description:  redirect.php of squirrelmail 1.4.9a crashes php (cgi) if 
register_globals is on

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


-- 
Edit bug report at http://bugs.php.net/?id=40505&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40505&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40505&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40505&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40505&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40505&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40505&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40505&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40505&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40505&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40505&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40505&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40505&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40505&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40505&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40505&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40505&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40505&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40505&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40505&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40505&r=mysqlcfg

Reply via email to