localtime(3) returns NULL when passed an invalid time_t but date(1) previously did not handle it. Exit with an error in that case.
PR: 220828 Reported by: Vinícius Zavam
Differential D11660
date: avoid crash on invalid time emaste on Jul 19 2017, 6:08 PM. Authored by Tags None Referenced Files
Subscribers None
Details
localtime(3) returns NULL when passed an invalid time_t but date(1) previously did not handle it. Exit with an error in that case. PR: 220828 Reported by: Vinícius Zavam
Diff Detail
Event Timeline
|