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: Eduardo Bustamante
Subject: Re: AddressSanitizer: heap-buffer-overflow lib/readline/bind.c:437 in rl_translate_keyseq
Date: Tue, 2 May 2017 00:22:03 -0500

On Mon, May 1, 2017 at 11:58 PM, Eduardo Bustamante <dualbus@gmail.com> wrote:
> Thanks, the latest commit no longer crashes on any of the malformed input 
> files.
>
> There's still a memory leak I hadn't noticed before:
>
[...]
> bash-4.4$ bind '\xx":""'

Actually, this one is shorter:

  bind '\:""'

rl_translate_keyseq() does not expect an odd number of backslashes, so
breaks when seq is a single backslash (it returns 0 in the len
pointer).



reply via email to

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