HomeFreeBSD

Do not access memory past the buffer end.

Description

Do not access memory past the buffer end.
Do not accept and silently truncate too long hostname.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS313799: Do not allocate char[MNAMELEN] on stack in nfsclient.
Branches
Unknown
Tags
Unknown