HomeFreeBSD

ed(1): Prevent possible string overflows

Description

ed(1): Prevent possible string overflows

Use strlcpy instead of strncpy to guarantee NULL termination.

Pointed out by: imp
CID: 1007252
X-MFC with: r292454

Details

Provenance
pfgAuthored on
Parents
rS292454: ed(1): Prevent possible string overflows
Branches
Unknown
Tags
Unknown