[php-src] PR #14728: Check session_create_id() input for null byte

From: Date: Sat, 29 Jun 2024 19:59:31 +0000
Subject: [php-src] PR #14728: Check session_create_id() input for null byte
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26905@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14728 Author: jorgsowa The function session_create_id() allows only selected characters amongst which there is no NULL byte, however the validation doesn't check for it. > Warning: session_create_id(): Prefix cannot contain special characters. Only the A-Z, a-z, 0-9, > "-", and "," characters are allowed This PR checks for a NULL byte in the function php_session_valid_key used by the PHP function session_create_id().

« previous php.git-pulls (#26905) next »