summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_strace1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 65d73074c..c99f726b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-09  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 34693: Completion/Linux/Command/_strace: _strace: Fix variable
+	leakage of $sys_calls
+
 2015-03-07  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* Daniel Hahler: 34638 with tweaks: Completion/Unix/Command/_git:
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