HomeFreeBSD

MFC r299868

Description

MFC r299868

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: 991863, 991864, 991865

Details

Provenance
truckmanAuthored on
Parents
rS300282: Verify one sysctl parameter at a time. When a mlx5en sysctl parameter
Branches
Unknown
Tags
Unknown