History log of /PHP-8.2/ext/session/tests/bug79091.phpt (Results 1 – 4 of 4)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 74859783 11-Jun-2021 Nikita Popov

Migrate SKIPIF -> EXTENSIONS (#7138)

This is an automated migration of most SKIPIF extension_loaded checks.

# 787db3af 28-May-2021 Máté Kocsis

Declare tentative return types for ext/session (#7005)

# b510250b 26-Mar-2020 Christoph M. Becker

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 alre

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.

show more ...

# f79c7742 20-Jan-2020 Christoph M. Becker

Fix #79091: heap use-after-free in session_create_id()

If the `new_id` is released, we must not use it again.