From 44757a653cb547ae7b556e8c92629d296d3c1f12 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 22 Jan 2013 16:28:58 +0000 Subject: 30993: fix parameter modifier crash with :wq on empty string --- Test/D04parameter.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 01f841218..bea945971 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1544,3 +1544,10 @@ 0:Regression test for shwordsplit with null or unset IFS and quoted array >abc >a b c + + foo= + print ${foo:wq} + print ${:wq} +0:Empty parameter shouldn't cause modifiers to crash the shell +> +> -- cgit 1.4.1