[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: asan report in history_tokenize_word

From: Chet Ramey
Subject: Re: asan report in history_tokenize_word
Date: Mon, 13 Mar 2023 15:17:35 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/7/23 3:50 AM, Grisha Levit wrote:
This happens with yank-last-arg when the last arg ends with a backslash:

INPUTRC=/dev/null ./bash --norc -in <<<$'\\\n\e_'

==38861==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x00010390cfb2 at pc 0x000100622c18 bp 0x00016fdf1410 sp

Thanks for the report. This is a contender for the oldest bug ever reported --
the problem code is essentially the same in version 1.02 from 1989, which
is the earliest version I still have.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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