mirror of
https://github.com/php/php-src.git
synced 2024-09-27 21:07:25 +00:00
10 lines
177 B
Plaintext
10 lines
177 B
Plaintext
|
--TEST--
|
||
|
Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt
|
||
|
--FILE--
|
||
|
<?php
|
||
|
crypt("foo", '$5$'.chr(0).'abc');
|
||
|
crypt("foo", '$6$'.chr(0).'abc');
|
||
|
echo "OK!";
|
||
|
--EXPECT--
|
||
|
OK!
|