bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG in date program causes memory overflow if resulting datestrin g


From: Jim Meyering
Subject: Re: BUG in date program causes memory overflow if resulting datestrin g is empty
Date: 28 Nov 2000 18:52:16 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Martin Oberhuber <address@hidden> wrote:
| When you execute
|    date +"%Z"
| in an environment where the time zone is not defined (e.g. cygwin),
| the date program consumes all available memory until it terminates.
|
| Looking at the code in src/shellutils/src/date.c:341 , we see
| the problem -- strftime(), which is used to format the date
...

Thanks for the report and patch.
That's fixed in the latest test release.
  ftp://alpha.gnu.org/gnu/fetish/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]