This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix for BZ #18043 buffer-overflow (read past the end) in wordexp/parse_dollars/parse_param


On Fri, Mar 6, 2015 at 7:21 AM, Carlos O'Donell <carlos@redhat.com> wrote:

>> +  wordexp_t w;
>> +  wordexp (word_start, &w, 0);

This lost the check for expected failure in wordexp from the original patch.

I've added it back in and committed as 895c30cb003857b52c1675f9078e6a799b231bcb.

I'll generalize the check for all other patterns, then update patch
for BZ 18042.

Thanks,

-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]