HomeFreeBSD

Use strlcpy() instead of strncpy() when copying ifname to ensure

Description

Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated. Additional NUL padding is not required
for short names.

Reported by: Coverity
CID: 1009974
MFC after: 1 week

Details

Provenance
truckmanAuthored on
Parents
rS299868: Use strlcpy() instead of strncpy() when copying ifname to ensure
Branches
Unknown
Tags
Unknown