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: 99186, 991864, 991865
MFC after: 1 week

Details

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