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 18042 buffer-overflow (read past the end) in wordexp/parse_backtick/parse_backslash


On 02/27/2015 11:49 PM, Paul Pluzhnikov wrote:
> Greetings,
> 
> parse_backslash() expects to be looking *at* backslash, not past it.
> 
> 
> 2015-02-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
>         [BZ #18042]
>         * posix/wordexp.c (parse_backtick): Fix off-by-one.
>         * posix/wordexp-test.c: Add test.
> 

Agreed. Looks good to me. Thanks for the fix and test.

OK to commit as long as test fails before and passes after
on at least x86_64.

Cheers,
Carlos.


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