Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "double free or corruption (out)" in zsh correct



On Wed, Jul 21, 2021 at 6:03 AM Henning Reich <henning.reich@xxxxxxxxx> wrote:
>
> you probably already know but it seems there is a bug in the correct
> function (or is this not part of zsh?).

I can reproduce:

ubuntu% setopt correct
ubuntu% A=$(PWD)
zsh: correct 'PWD' to 'pwd' [nyae]? y
 hist.c:1710: BUG: hwget() called in middle of word
zsh: segmentation fault (core dumped)  Src/zsh -f




Messages sorted by: Reverse Date, Date, Thread, Author