GNU bug report logs -
#16872
`date -d 'TZ="America/Los_Angeles" "00:00 + 1 hour"'` crashes
Previous Next
Reported by: Mike Frysinger <vapier <at> gentoo.org>
Date: Tue, 25 Feb 2014 08:15:02 UTC
Severity: normal
Tags: fixed
Merged with 21186
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #32 received at control <at> debbugs.gnu.org (full text, mbox):
unarchive 16872
forcemerge 21186 16872
stop
On 04/08/15 12:36, Michael Moffatt wrote:
> Hi there,
>
> I inadvertently discovered that the following bad input leads to a date
> core. While I accept that I was throwing garbage at poor old date, I
> thought that the resulting core merited a bug report.
>
> The string was:
>
> date +%s -d'TZ="America/Los_Angeles" "Tue, 14 Jul 2015 04:00:35 +0000"'
>
> I was doing this on Centos, but also verified the same issue on Debian
> (6.0.10) with coreutils 8.5 but the problem did NOT happen on another
> Debian (jessie/sid) box with coreutils 8.21.
This fix which was included in coreutils 8.23
and probably backported to debian:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=a10acfb1d2
It's not been fixed in centos 7 yet:
https://bugzilla.redhat.com/1167548
cheers,
Pádraig.
This bug report was last modified 6 years and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.