From:             daniele at orlandi dot com
Operating system: SuSE Linux 9.1
PHP version:      4.3.9
PHP Bug Type:     Apache2 related
Bug description:  Setting session.serialize_handler to none in apache config segfaults 
PHP

Description:
------------
This is an almost cosmetic issue. I incorrectly put "none" in apache's
configuration file for session.serialize_handler. Starting the session,
PHP segfaults; it may be a missing NULL check.

php_value session.serialize_handler none

[pid 31996] open("/tmp/sess_de475dfe390c0d01f35536633634db4a",
O_RDWR|O_CREAT, 0600) = 28
[pid 31996] flock(28, LOCK_EX)          = 0
[pid 31996] fcntl64(28, F_SETFD, FD_CLOEXEC) = 0
[pid 31996] fstat64(28, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
[pid 31996] pread(28, "", 0, 0)
[pid 31996] --- SIGSEGV (Segmentation fault) @ 0 (0) ---



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

Reply via email to