MFC r299525
authortruckman <truckman@FreeBSD.org>
Fri, 20 May 2016 06:05:20 +0000 (06:05 +0000)
committertruckman <truckman@FreeBSD.org>
Fri, 20 May 2016 06:05:20 +0000 (06:05 +0000)
commitc6ee4df3bd7e2f6dc93c8102ac7c93860e76f593
tree4e6ed14c72f4b40f10644d9026ed400daf00fc0f
parent5144a68f04dc5f529b959e282b222666caea04d7
MFC r299525

  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
usr.bin/msgs/msgs.c