From 263a0c247620f86532424727f7ed07ca7540fbf3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 9 May 2017 09:46:23 +0100 Subject: 41078: Empty psvar could cause bad dereference in prompt expansion --- Test/D01prompt.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/D01prompt.ztst b/Test/D01prompt.ztst index 08187287d..11f18dc71 100644 --- a/Test/D01prompt.ztst +++ b/Test/D01prompt.ztst @@ -209,3 +209,7 @@ print -P -f '%%Sfoo%%s\n' bar 0:print -P -f >%Sfoo%s + + print ${(%U)Y-%(v} +0:Regression test for test on empty psvar +> -- cgit 1.4.1