diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-11-22 16:25:06 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-11-22 16:25:06 +0000 |
commit | b0323cab3b845f1cfa3bc4bc029de86b207ec26e (patch) | |
tree | ae7bb9ee104b0d8e205878789abda7f4fe682213 /Src/builtin.c | |
parent | ae4cf7b743da0785cb8d1f0d01b8697318f254dc (diff) | |
download | zsh-b0323cab3b845f1cfa3bc4bc029de86b207ec26e.tar.gz zsh-b0323cab3b845f1cfa3bc4bc029de86b207ec26e.tar.xz zsh-b0323cab3b845f1cfa3bc4bc029de86b207ec26e.zip |
37187: infinite loop in "hash -m"
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 01eb5b84c..cac4f42f9 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3712,6 +3712,7 @@ bin_hash(char *name, char **argv, Options ops, UNUSED(int func)) zwarnnam(name, "bad pattern : %s", *argv); returnval = 1; } + argv++; continue; } if (!(asg = getasg(&argv, NULL))) { |