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.

MFC after: 1 week

Details

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