From 7d760fd8f4fd2fb622183106912c34845e280333 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 23 Sep 2014 12:21:54 -0700 Subject: movemail: don't dump core if the current time is outlandish * movemail.c (popmail): Check for mbx_delimit_begin failure. (mbx_delimit_begin): Fail if the current time is so outlandish that localtime would fail or asctime would have undefined behavior. Use strftime to avoid asctime undefined behavior. --- lib-src/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 4ca0c7e5319..6c31841c130 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,11 @@ +2014-09-23 Paul Eggert + + movemail: don't dump core if the current time is outlandish + * movemail.c (popmail): Check for mbx_delimit_begin failure. + (mbx_delimit_begin): Fail if the current time is so outlandish + that localtime would fail or asctime would have undefined + behavior. Use strftime to avoid asctime undefined behavior. + 2014-09-01 Paul Eggert --enable-silent-rules now suppresses more chatter. -- cgit v1.2.1