1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 06:32:49 +02:00
Files
archived-php-src/ext/session/tests
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-10-14 19:45:12 +02:00
2016-08-11 08:31:48 +09:00
2018-10-14 19:45:12 +02:00
2016-08-11 08:31:48 +09:00
2018-10-13 11:21:27 +02:00
2016-08-11 08:31:48 +09:00
2016-07-23 20:55:39 +02:00
2016-08-18 15:37:15 +08:00
2016-10-10 12:20:44 +02:00
2016-11-27 10:49:17 +09:00
2016-12-10 16:43:17 +08:00