HomeFreeBSD

MFC r290903, r299573

Description

MFC r290903, r299573

r290903 is needed to prevent a conflict whem merging r299573

r290903 | araujo | 2015-11-15 19:18:40 -0800 (Sun, 15 Nov 2015) | 5 lines

Don't need cast malloc.

r299573 | truckman | 2016-05-12 14:35:40 -0700 (Thu, 12 May 2016) | 10 lines

Use strlcpy() instead of strncpy() when copying to dom_domain to
ensure that the latter is NUL terminated since it is passed
as an argument to *printf().

Warn about NIS domains that are too long.

Reported by: Coverity
CID: 1009620, 1009621

Details

Provenance
truckmanAuthored on
Parents
rS300267: [ath] convert recent changes over to HAL format.
Branches
Unknown
Tags
Unknown