Bug #71038 [ReO->Csd]: session_start() returns TRUE on failure

From: Date: Thu, 17 Nov 2016 02:09:48 +0000
Subject: Bug #71038 [ReO->Csd]: session_start() returns TRUE on failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205426@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71038&edit=1 ID: 71038 Updated by: yohgaki@php.net Reported by: pfenderd at bellsouth dot net Summary: session_start() returns TRUE on failure -Status: Re-Opened +Status: Closed Type: Bug Package: Session related Operating System: Irrelevant PHP Version: 7.1.0RC3 Assigned To: yohgaki Block user comment: N Private report: N New Comment: Automatic comment on behalf of yohgaki Revision: http://git.php.net/?p=php-src.git;a=commit;h=7f196e321fa464075248eced7d0d2c046b686b24 Log: Fix bug #71038 - session_start() returns true even when it failed PR #2167 Previous Comments: ------------------------------------------------------------------------ [2016-10-16 08:58:52] yohgaki@php.net Sorry for late important bug fix. I was thinking to create a new RFC for this, but I forgot it completely. This kind of bug fix can only be in minor release. If RM feels to late/large at this point. I don't mind applying this only to master branch. ------------------------------------------------------------------------ [2016-10-06 08:07:06] yohgaki@php.net Related To: Bug #73245 ------------------------------------------------------------------------ [2016-10-06 08:05:58] yohgaki@php.net There is a case still start session and initialize $_SESSION with error. Bug #73245 ------------------------------------------------------------------------ [2016-01-14 04:24:10] yohgaki@php.net Related To: Bug #69964 ------------------------------------------------------------------------ [2016-01-12 11:50:56] yohgaki@php.net I used PS(session_status) to fix this. PHP 5.6 still returns TURE on read failure to keep compatibility for buggy save handlers. PHP 7.0 and up are treats read error strictly. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=71038 -- Edit this bug report at https://bugs.php.net/bug.php?id=71038&edit=1

« previous php.bugs (#205426) next »