[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Segfault in gawk 4.2.1
From: |
arnold |
Subject: |
Re: [bug-gawk] Segfault in gawk 4.2.1 |
Date: |
Tue, 09 Apr 2019 07:46:10 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
Thanks for this report. I looked at his example. Gawk does not
exit after the first syntax error, in order to diagnose as many
problems as possible. This results in some data structures getting
corrupted, and thus the core dump. It's a tradeoff.
I'm not going to worry about this right now, though.
Thanks,
Arnold
Denis Kasak <address@hidden> wrote:
> Hello,
>
> I just stumbled on this post[1] by Steve Kemp where he discovered a
> segfaulting input while fuzzing gawk with afl. I thought I'd check with
> gawk 4.2.1 and discovered it still crashes, so I'm reporting it.
>
> The segfaulting awk program is
>
> for (i = ) in steve kemp rocks
>
> [1]:
> https://blog.steve.fi/if_line_noise_is_a_program__all_fuzzers_are_developers.html
>
> Regards,
>
> --
> Denis Kasak