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 <[email protected]> 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    [email protected]    http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to