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: Ben Wong
Subject: Re: [Bug-readline] Readline fuzz testing
Date: Tue, 11 Jul 2017 18:32:16 -0700

I just double checked and the Debian 8 machine I'm using is actually 32-bit. 
Perhaps that's the difference?

Or am I downloading the wrong code by using git? Here's what I just tried:

    git clone git://git.savannah.gnu.org/readline.git
    cd readline
    git checkout devel
    CFLAGS="-g -fsanitize=address" ./configure    
    make
    cd ..
    gcc -g -fsanitize=address rltest.c -I. readline/lib{readline,history}.a 
-lncurses -o rltest

Is that not right?



On July 11, 2017, at 1:57 PM, Chet Ramey <address@hidden> wrote:

On 7/11/17 3:53 AM, Ben Wong wrote:

> I can confirm that when I compile readline using the devel branch from
> Savannah, it fixes some, but not all, of the bugs I found. In
> particular, examples A & C seem to work, but if you try dataset B in
> my examples, it still triggers a memory allocation problem (heap usage
> after free).

I took the readline devel snapshot from yesterday and ran it against your
dataset B on RHEL 6, Fedora 25, and Debian 8, and didn't get this error.

Chet

-- 
``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]