Don't display formatted time if localtime() fails.
authorjsg <jsg@openbsd.org>
Tue, 16 Dec 2014 03:19:23 +0000 (03:19 +0000)
committerjsg <jsg@openbsd.org>
Tue, 16 Dec 2014 03:19:23 +0000 (03:19 +0000)
commit40f07bdcf47daace717819c51e706e5a063bacf2
treeaff1b189d0ed2dc4830c8c0530d7eff1987c32c0
parent583f2f708eb980bf56e21300c8b146442523c787
Don't display formatted time if localtime() fails.
Avoids a crash in strftime() found with the afl fuzzer.
ok guenther@
usr.bin/kdump/ktrstruct.c