crypt function cannot handle input phrase over 512 characters
Issue
crypt()
function cannot handle strings longer than 512 characterscrypt
orcrypt_r
returns errorERANGE
"Numerical result out of range"
Environment
- Red Hat Enterprise Linux 9
crypt
fromlibxcrypt
(not GNU glibc)phrase
argument longer than 512 bytes
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.