ash: fix a SEGV case in an invalid heredoc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2015-02-05 21:00:17 +01:00
parent a14fa79592
commit 7e66102f76
3 changed files with 15 additions and 4 deletions

View File

@@ -0,0 +1 @@
heredoc1.tests: line 3: syntax error: unexpected "then"

View File

@@ -0,0 +1,3 @@
# We used to SEGV on this:
<<EOF; then <W