ar: Assume epoch if ar_date is bogus.
authorMark Wielaard <mark@klomp.org>
Sun, 14 Oct 2018 15:29:51 +0000 (17:29 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 19 Oct 2018 22:13:09 +0000 (00:13 +0200)
commit4cdb0fd0d3b4255a9994ce302d6df76d251f7b75
tree6814f8530dc47cf6437117632c5e384683311f96
parent577511f66842c324c811d1530eea32792f2bee29
ar: Assume epoch if ar_date is bogus.

If the ar header contains a bogus ar_date then in verbose mode we would
get a NULL pointer from localtime. Just assume the entry was created
during the epoch.

https://sourceware.org/bugzilla/show_bug.cgi?id=23754

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/ar.c