HomeFreeBSD

ifconfig: Use strlcpy(3) instead of strncpy(3) for interface name

Description

ifconfig: Use strlcpy(3) instead of strncpy(3) for interface name

No functional change intended.

Reviewed by: pouria, delphij, imp
Approved by: glebius (mentor)
Differential Revision: https://reviews.freebsd.org/D54752

Details

Provenance
amy.vargas_netapp.comAuthored on Jan 17 2026, 9:48 AM
pouriaCommitted on Jan 18 2026, 8:26 AM
Reviewer
pouria
Differential Revision
D54752: ifconfig: Use strlcpy() instead of strncpy() for interface name copy
Parents
rGadb66ef8c6ff: netlink(4): Add snl(3) to See Also section
Branches
Unknown
Tags
Unknown