bug-bash
[Top][All Lists]
Advanced

[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: Chet Ramey
Subject: Re: Out of bounds heap read in completion code detected when compiling bash with address sanitizer
Date: Tue, 23 Jun 2015 14:57:35 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/23/15 7:11 AM, Hanno Böck wrote:
> Hello,
> 
> When trying to compile latest bash (4.3 + all patches up to 039) with add
ress sanitizer
> I discovered a potential out of bounds read.
> It seems to be related to tab completion and readline

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.

Chet
- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWJrBUACgkQu1hp8GTqdKuKDgCeOO2pu+UILdeOuKTpIpgpuEOC
4bQAoJTsiPjxILywvoDVZQX6qaB4ujUx
=BDtc
-----END PGP SIGNATURE-----

Attachment: completion-skip-assignments.patch
Description: Source code patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]