[php-src] Issue #8397: crypt() accepts invalid characters in salt
| From: | cmb69 | Date: | Tue, 19 Apr 2022 13:49:51 +0000 |
| Subject: | [php-src] Issue #8397: crypt() accepts invalid characters in salt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241076@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8397
Comment Author: cmb69
> What I'm missing in PHP, however, is a way to explicitly make use of and test against the
> OS's crypt() function when it is available.
As it is now, [PHP uses system crypt if *all* algorithms and crypt_r() are
supported](https://github.com/php/php-src/blob/8f02d7b7e499490312969cdfa9a3a81b9458595a/ext/standard/config.m4#L279-L285).