[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Out of bounds heap read in completion code detected when compiling b
From: |
Hanno Böck |
Subject: |
Re: Out of bounds heap read in completion code detected when compiling bash with address sanitizer |
Date: |
Tue, 23 Jun 2015 21:22:38 +0200 |
On Tue, 23 Jun 2015 14:57:35 -0400
Chet Ramey <chet.ramey@case.edu> wrote:
> Thanks for the report. I don't have address sanitizer, but this was
> pretty easy to find given what you provided. I've attached a patch
> for folks to look at.
Patch looks good, fixes the bug for me. Thanks a lot!
Please drop me a note when you publish it as an "official" patch level
for bash.
Btw, address sanitizer is just a compile feature of gcc and clang
activated by a cflag, you usually don't need anything special to have
it. Makes sense to test from time to time with it.
--
Hanno Böck
http://hboeck.de/
mail/jabber: hanno@hboeck.de
GPG: BBB51E42
pgps8C6sSLI8L.pgp
Description: OpenPGP digital signature