mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
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.
96 KiB
96 KiB