mirror of
https://github.com/php/php-src.git
synced 2025-01-09 04:24:06 +08:00
MFB crypt fix
This commit is contained in:
parent
1fbf911905
commit
ba04ba9c82
@ -179,6 +179,8 @@ PHP_FUNCTION(crypt)
|
||||
salt[2] = '\0';
|
||||
#endif
|
||||
salt_in_len = strlen(salt);
|
||||
} else {
|
||||
salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len);
|
||||
}
|
||||
|
||||
/* Windows (win32/crypt) has a stripped down version of libxcrypt and
|
||||
|
Loading…
Reference in New Issue
Block a user