summary refs log tree commit diff
path: root/Completion/Linux/Command/_strace
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-03-07 15:28:27 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-03-09 19:59:25 +0000
commitc1eda67909404538addb932203088cada148f9d5 (patch)
treee8d5679039c9ca8690705c3fa328b4777e2362be /Completion/Linux/Command/_strace
parent0e319ecadc86a589c9f28819efae9e0bf972ee1b (diff)
downloadzsh-c1eda67909404538addb932203088cada148f9d5.tar.gz
zsh-c1eda67909404538addb932203088cada148f9d5.tar.xz
zsh-c1eda67909404538addb932203088cada148f9d5.zip
34693: _strace: Fix variable leakage of $sys_calls
Diffstat (limited to 'Completion/Linux/Command/_strace')
-rw-r--r--Completion/Linux/Command/_strace1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_strace b/Completion/Linux/Command/_strace
index 45ebfcf1a..d6dabfd24 100644
--- a/Completion/Linux/Command/_strace
+++ b/Completion/Linux/Command/_strace
@@ -5,6 +5,7 @@
 #	- allow negated calls (e.g. -e!write)
 _sys_calls () {
 	local expl
+	local -a sys_calls
 
 	sys_calls=(_llseek _newselect _sysctl accept access acct
 		adjtimex afs_syscall alarm bdflush bind break brk cacheflush