[php-src] PR #14008: Fixed bug #14007
| From: | savaskoc | Date: | Fri, 19 Apr 2024 15:05:19 +0000 |
| Subject: | [php-src] PR #14008: Fixed bug #14007 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25823@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14008
Author: savaskoc
password_hash does not allow \0 character anywhere. However it might cause some problem, as
$password might contain it. CVE-2024-3096 only happens if $password starts
with \0, so just checking the first character should be enough.