HomeFreeBSD

If the user-provided password exceeds the maximum password length, don't

Description

If the user-provided password exceeds the maximum password length, don't
bother passing it to crypt(). It won't succeed and may allow an attacker
to confirm that the user exists.

Reported by: jkim@
MFC after: 1 week
Security: CVE-2016-6210

Details

Provenance
desAuthored on
Parents
rS325009: Make gmountver(8) use direct dispatch.
Branches
Unknown
Tags
Unknown