GNU bug report logs - #21186
date core with bad string

Previous Next

Package: coreutils;

Reported by: michael <at> moffatt.org.nz

Date: Tue, 4 Aug 2015 15:26:01 UTC

Severity: normal

Tags: fixed

Merged with 16872

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: michael <at> moffatt.org.nz, 21186 <at> debbugs.gnu.org
Subject: bug#21186: date core with bad string
Date: Tue, 04 Aug 2015 16:55:53 +0100
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 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.