[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix bug with "seq -f %10 1"
From: |
Jim Meyering |
Subject: |
Re: fix bug with "seq -f %10 1" |
Date: |
Sun, 02 Mar 2008 10:04:15 +0100 |
Paul Eggert <address@hidden> wrote:
> I found this bug when I was just fooling around:
>
> $ seq -f %10 1
> seq: memory exhausted
Hi Paul,
Thanks, but I fixed that two weeks ago:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=b8108fd2ddf7
BTW, that "memory exhausted" diagnostic was bogus. Once the invalid
format string got past the format-checking code, it violated assumptions
in the asprintf-related code: when asprintf failed due to an invalid
format, we mistakenly reported the only failure we thought possible:
memory exhausted. I didn't do anything about that, but now that the
format-checking bug is fixed, it should be ok.