diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-12 21:35:40 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-12 21:35:40 +0000 |
commit | 96fdc95a9bcedf1bdb7cc90c8ef0942dd16ab1d2 (patch) | |
tree | 33747beda1ffa5472bb97a8d919ed03ab07e5279 /include | |
parent | 7ef46cc73bf3c6c15d899f75d0801b46ee282eed (diff) | |
download | FreeBSD-src-96fdc95a9bcedf1bdb7cc90c8ef0942dd16ab1d2.zip FreeBSD-src-96fdc95a9bcedf1bdb7cc90c8ef0942dd16ab1d2.tar.gz |
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
MFH: 1 week
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions