Alan Somers 7a9c38e681 Properly null-terminate strings in a kernel dump header. A version string
longer than 192 bytes will cause the version field of a dump header to
overflow. strncpy doesn't null terminate it, so savecore will print a
corrupted info file. Using strlcpy fixes the bug.

Differential Revision:	https://reviews.freebsd.org/D2560
Reviewed by:		markj
MFC after:		3 weeks
Sponsored by:		Spectra Logic
2015-05-19 16:23:47 +00:00
..
2015-04-18 21:50:53 +00:00
2015-04-22 14:38:58 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-04-22 14:38:58 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2015-05-02 18:12:34 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-04-05 14:17:26 +00:00
2015-04-18 21:50:53 +00:00
2015-04-18 21:50:53 +00:00
2014-11-30 12:52:33 +00:00
2015-03-17 14:16:50 +00:00
2015-05-18 13:43:33 +00:00
2015-04-22 01:54:25 +00:00