summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-heredoc/heredoc1.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2015-02-05 21:00:17 +0100
committerDenys Vlasenko2015-02-05 21:00:17 +0100
commit7e66102f762a7d80715f0c7e5925433256b78cee (patch)
treeab0a28074aa6b4fe2f9dfff6e9db7ab3059caa6b /shell/ash_test/ash-heredoc/heredoc1.tests
parenta14fa79592eadec0d5e296c66e79dfe36ce798c7 (diff)
downloadbusybox-7e66102f762a7d80715f0c7e5925433256b78cee.zip
busybox-7e66102f762a7d80715f0c7e5925433256b78cee.tar.gz
ash: fix a SEGV case in an invalid heredoc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-heredoc/heredoc1.tests')
-rwxr-xr-xshell/ash_test/ash-heredoc/heredoc1.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc1.tests b/shell/ash_test/ash-heredoc/heredoc1.tests
new file mode 100755
index 0000000..a912a67
--- /dev/null
+++ b/shell/ash_test/ash-heredoc/heredoc1.tests
@@ -0,0 +1,3 @@
+# We used to SEGV on this:
+
+<<EOF; then <W