1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/session
Christoph M. Becker b510250b8e Fix #79413: session_create_id() fails for active sessions
The comment on `PS_VALIDATE_SID_FUNC(files)` is very clear that the
function is supposed to return `SUCCESS` if the session already exists.
So to detect a collision, we have to check for `SUCCESS`, not
`FAILURE`.

We also fix the wrong condition in session_regenerate_id() as well.
2020-03-31 08:38:23 +02:00
..
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2018-07-25 00:53:25 +02:00
2019-10-04 06:12:29 +02:00
2018-07-25 00:53:25 +02:00