[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another out of bounds heap read in bash completion
From: |
Chet Ramey |
Subject: |
Re: Another out of bounds heap read in bash completion |
Date: |
Fri, 10 Jul 2015 16:00:25 -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 7/10/15 3:42 PM, Hanno Böck wrote:
> On Fri, 10 Jul 2015 15:34:02 -0400
> Chet Ramey <chet.ramey@case.edu> wrote:
>
>>> Here's the asan message on 4.4 alpha:
>>> ==5999==ERROR: AddressSanitizer: heap-buffer-overflow on address
>>> 0x602000
>> 002d6f at pc 0x5ca2b8 bp 0x7fffc9d75240 sp 0x7fffc9d75230
>>> READ of size 1 at 0x602000002d6f thread T0
>>> #0 0x5ca2b7 in
>>> printable_part /mnt/ram/bash-4.4-alpha/lib/readline/co
>> mplete.c:738
>>
>> I can't reproduce this on fedora 22. If you can, please run this from
>> inside gdb and tell me what the values of `pathname', `x', `temp' are
>> when it crashes. Thanks.
>
> I was unable to get this working in gdb, but I added some printf:
> pathname 11728
> x 11727
> temp 11728
That helps, but they are strings, so can you print the string values? I'm
interested in reproducing this instead of just guessing and not being able
to fix it at an appropriately high level. Thanks.
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
iEYEARECAAYFAlWgJFEACgkQu1hp8GTqdKsVXQCfXhbs79HZDjelAMAZyVzBn5JC
3T8AmweT5V/YrQt6rrK5IGFWiDXF+oHZ
=uMh5
-----END PGP 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 <=
- 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