[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another out of bounds heap read in bash completion
From: |
Hanno Böck |
Subject: |
Re: Another out of bounds heap read in bash completion |
Date: |
Fri, 10 Jul 2015 20:45:59 +0200 |
On Fri, 10 Jul 2015 14:41:04 -0400
Chet Ramey <chet.ramey@case.edu> wrote:
> On 7/10/15 2:38 PM, Hanno Böck wrote:
> > On Fri, 10 Jul 2015 14:23:25 -0400
> > Chet Ramey <chet.ramey@case.edu> wrote:
> >
> >>> To reproduce:
> >>> a) compile bash with CFLAGS="-fsanitize=address -g"
> >>> b) type in a=/ a
> >>> c) go back with the cursor behind the backslash and press tab
> >>
> >> Thanks for the report. I've attached a patch that should address
> >> the problem. It's not in bash-4.4-alpha.
> >
> > Can confirm the patch fixes the issue.
> >
> > However in 4.4 alpha I still get an asan error. However the stack
> > trace is different.
>
> Using the same reproducer? I said that patch was not in
> bash-4.4-alpha.
A sorry, misunderstanding. I thought you meant "the bug" is not in 4.4
alpha ;-)
> If there's a different reproducer for the stack trace you're seeing,
> please send it along. Thanks.
No, exactly same reproducer, just a different stack trace.
And if relevant: Even if I patch 4.4 alpha with your patch I get the
asan error.
--
Hanno Böck
http://hboeck.de/
mail/jabber: hanno@hboeck.de
GPG: BBB51E42
pgpu5uTvRVaMQ.pgp
Description: OpenPGP digital signature
- Another out of bounds heap read in bash completion, Hanno Böck, 2015/07/06
- Re: Another out of bounds heap read in bash completion, Chet Ramey, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Hanno Böck, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Chet Ramey, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Hanno Böck, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Chet Ramey, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Hanno Böck, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Chet Ramey, 2015/07/10
- Re: Another out of bounds heap read in bash completion, Hanno Böck, 2015/07/10