mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
b510250b8e
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. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
mod_files.bat | ||
mod_files.c | ||
mod_files.h | ||
mod_files.sh | ||
mod_mm.c | ||
mod_mm.h | ||
mod_user_class.c | ||
mod_user.c | ||
mod_user.h | ||
php_session.h | ||
session.c |