[php-src] PR #13796: Removed impossible paths from session_decode and session_encode
| From: | jorgsowa | Date: | Sat, 23 Mar 2024 23:44:11 +0000 |
| Subject: | [php-src] PR #13796: Removed impossible paths from session_decode and session_encode | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25531@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13796
Author: jorgsowa
Removed paths from
session_decode and session_encode are impossible to
reach, because:
- session must be active before those functions are called
- it's impossible to pass an invalid session.serialize_handler. Neither by
ini_set or session_start($options).
I have added a test case, but I'm not sure in this case is very relevant.