HomeFreeBSD

Use strlcpy() instead of strncpy() when copying date and subj

Description

Use strlcpy() instead of strncpy() when copying date and subj
to ensure that these are properly NUL terminated since they
are passed to printf().

Reported by: Coverity
CID: 974770
MFH: 1 week

Details

Provenance
truckmanAuthored on
Parents
rS299524: Use strlcpy() instead of strncpy() when copying the encoding value
Branches
Unknown
Tags
Unknown