[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] quotearg: do not read beyond end of buffer
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] quotearg: do not read beyond end of buffer |
Date: |
Mon, 13 May 2013 09:14:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 05/13/2013 06:14 AM, Jim Meyering wrote:
> I ran gcc's -fsanitize=address against coreutils, and two
> sort tests failed due to buffer overruns. Both arose via
> a bug in quotearg.c. Patch below. Two things remain to do:
> 1) find when the bug was introduced (before push)
> 2) address the module-factoring FIXME comment (after)
>
> Not sure I'll do #1, but I will get to #2.
Nice one!
thanks,
Pádraig.