bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Readline fuzz testing


From: Chet Ramey
Subject: Re: [Bug-readline] Readline fuzz testing
Date: Tue, 11 Jul 2017 14:51:01 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 7/11/17 3:58 AM, Ben Wong wrote:
> Also, there is still the problem of rl.c locking up on fairly simple input:
> 
>     wget https://cnswww.cns.cwru.edu/php/chet/readline/rl.c
>     gcc -fsanitize=address rl.c -o rl readline/libreadline.a  -lncurses
>     printf '\e\n\eRgy\000' | ./rl
>     [readline hangs in an infinite loop, using all CPU]

$ printf '\e\n\eRgy\000' | ./rl
readline$ gy
gy
$

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



reply via email to

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