bug-bash
[Top][All Lists]
Advanced

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

Re: AddressSanitizer: heap-buffer-overflow lib/readline/bind.c:437 in rl


From: Chet Ramey
Subject: Re: AddressSanitizer: heap-buffer-overflow lib/readline/bind.c:437 in rl_translate_keyseq
Date: Tue, 2 May 2017 10:04:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.0.1

On 5/2/17 1:22 AM, Eduardo Bustamante wrote:
> bind '\xx":""'

chet(1)$ valgrind ./bash
==8686== Memcheck, a memory error detector
==8686== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==8686== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==8686== Command: ./bash
==8686==
chet(2)$ echo $BASH_VERSION
4.4.12(77)-maint
chet(2)$ bind '\:""'
chet(2)$ exit
==8686==
==8686== HEAP SUMMARY:
==8686==     in use at exit: 0 bytes in 0 blocks
==8686==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==8686==
==8686== All heap blocks were freed -- no leaks are possible
==8686==
==8686== For counts of detected and suppressed errors, rerun with: -v
==8686== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)
chet(1)$ valgrind ./bash
==8688== Memcheck, a memory error detector
==8688== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==8688== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==8688== Command: ./bash
==8688==
chet(2)$ echo $BASH_VERSION
4.4.12(77)-maint
chet(2)$ bind '\xx":""'
chet(2)$ exit
==8688==
==8688== HEAP SUMMARY:
==8688==     in use at exit: 0 bytes in 0 blocks
==8688==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==8688==
==8688== All heap blocks were freed -- no leaks are possible
==8688==
==8688== For counts of detected and suppressed errors, rerun with: -v
==8688== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)
chet(1)$ uname -a
Linux chet-mail 2.6.32-642.3.1.el6.x86_64 #1 SMP Sun Jun 26 18:16:44 EDT
2016 x86_64 x86_64 x86_64 GNU/Linux

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



reply via email to

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