awk: fix segfault on for loop syntax error
authorBrian Foley <bpfoley@google.com>
Sat, 15 Oct 2016 13:45:40 +0000 (14:45 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 24 Oct 2016 00:09:56 +0000 (02:09 +0200)
commit61d5997b586a28f79d54b28ce6963b643dff6e9e
tree161fb8911ed9a5bda79d1a1f8ac34534aae40564
parent1336052a490ffe7a3790ee3c1366756ca8a7f5ca
awk: fix segfault on for loop syntax error

Parsing "for()" segfaults as awk fails to find loop iteration expressions.

Signed-off-by: Brian Foley <bpfoley@google.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/awk.c
testsuite/awk.tests