Bug #71038 [ReO]: session_start() returns TRUE on failure
| From: | yohgaki@php.net | Date: | Sun, 16 Oct 2016 08:58:55 +0000 |
| Subject: | Bug #71038 [ReO]: session_start() returns TRUE on failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204824@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
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2016-01-12 11:48:17] yohgaki@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a15e9ccba8a34553c029fb4574edba87c76447e5
Log: Fixed Bug #71038 session_start() returns TRUE on failure
------------------------------------------------------------------------
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