On Thu, Sep 7, 2017 at 2:02 PM, Pieter Kockx <[email protected]> wrote:
> Hello hackers
>
> Get a segfault by typing:
> paste blabla

Thanks for the report and patch.

> It seems wise to scrutinize other calls to unescape() as well.

It looks like other tools that call unescape only do so on
command-line arguments (see
https://git.suckless.org/sbase/tree/cut.c#n179 for example).

What do you think about just moving unescape to right after `adelim =
EARGF(usage());`? The default value does not need escaping.

I checked the other calls of unescape in other tools and they seem to be okay.

> -- Pieter

Reply via email to