Searched hist:283115 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11.0-release/sys/kern/ | ||
H A D | kern_shutdown.c | diff 283115 Tue May 19 16:24:26 MDT 2015 asomers 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 |
Completed in 89 milliseconds