History log of /php-src/ext/session/tests/gh13891.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# c5bce0d8 24-Aug-2024 Kamil Tekiela

Deprecate disabling use_only_cookies (#13578)


# 5ce9687c 06-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13891: memleak and segfault when using ini_set with session.trans_sid_hosts (#13892)

The hash tables used are allocated via the persistent allocator.
When using ini_set, the alloc

Fix GH-13891: memleak and segfault when using ini_set with session.trans_sid_hosts (#13892)

The hash tables used are allocated via the persistent allocator.
When using ini_set, the allocation happens via the non-persistent
allocator. When the table is then freed in GSHUTDOWN, we get a crash
because the allocators are mismatched.

As a side note, it is strange that this is designed this way, because it
means that ini_sets persist between requests...

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>

show more ...