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:33:34 -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 4:15 PM, Hanno Böck wrote:
> On Fri, 10 Jul 2015 16:00:25 -0400
> Chet Ramey <chet.ramey@case.edu> wrote:
>
>> 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.
>
> pathname /
> x */
> temp /
Perfect, thanks. Try the attached patch.
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
iEYEARECAAYFAlWgLBUACgkQu1hp8GTqdKv/0wCbBMH1bbwy9lP72OuGGX8vaUvq
PSYAniQu+16YP6AZv5sDuhU9fbfQISAI
=gqWW
-----END PGP SIGNATURE-----