#14529 [NoF->Csd]: Returning non-string type from session read() segfaults. (User save handler)

From: Date: Mon, 21 Oct 2002 18:17:30 +0000
Subject: #14529 [NoF->Csd]: Returning non-string type from session read() segfaults. (User save handler)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22982@lists.php.net to get a copy of this message
ID: 14529 User updated by: jay1@swift-web.com Reported By: jay1@swift-web.com -Status: No Feedback +Status: Closed Bug Type: Session related -Operating System: Linux RH 7.2 +Operating System: Linux RH 7.3 -PHP Version: 4.3.0-dev +PHP Version: 4.2.3 New Comment: Sorry, I had given up and hadn't tried any newer versions in a while. Just set up a box with 4.2.3 installed and this was manually compiled with the same options so it would suggest that the bug no longer exists. Previous Comments: ------------------------------------------------------------------------ [2002-10-20 22:31:55] rasmus@php.net What bug? Like I said, I cannot reproduce it with the current code. Please verify that it is still happening with a current 4.3 snapshot. ------------------------------------------------------------------------ [2002-10-20 19:03:27] shanti@mojo.cc hi there .. can anyone now give a straight answer how to get rid of this bug .. or a really workaround ?? tnx4reply -c- ------------------------------------------------------------------------ [2002-09-17 01:00:01] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-08-16 22:03:33] rasmus@php.net Ok, so after all that, the summary of this bug is that returning a non-string from the read() function from a custom session handler causes a problem. I tried to reproduce this in current CVS by returning either false, null and random integers/floats and could not get a segfault. Please test a current snapshot and provide a short script that reproduces this. ------------------------------------------------------------------------ [2002-03-26 21:41:50] yohgaki@php.net After all, it's a session bug. I'm sure this is reported, but I couldn't find one. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14529 -- Edit this bug report at http://bugs.php.net/?id=14529&edit=1

« previous php.bugs (#22982) next »