diff options
author | Jacob Menke <linux.dev25@gmail.com> | 2020-09-22 07:09:36 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-09-22 07:10:51 +0000 |
commit | 794edac63850dfc1ffd7c971060fa7ec64dc9803 (patch) | |
tree | f8a71475a67310f01ea81f6751faed64fbb69616 | |
parent | 04bd9a44a74683ad0d83921bfb3aa0c4d5992c75 (diff) | |
download | zsh-794edac63850dfc1ffd7c971060fa7ec64dc9803.tar.gz zsh-794edac63850dfc1ffd7c971060fa7ec64dc9803.tar.xz zsh-794edac63850dfc1ffd7c971060fa7ec64dc9803.zip |
47395: _store_cache: Don't leak the variable ${_cache_dir}.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Base/Utility/_store_cache | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 108508898..047e6c1d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-09-22 Jacob Menke <linux.dev25@gmail.com> + + * 47395: Completion/Base/Utility/_store_cache: Don't leak the + variable ${_cache_dir}. + 2020-09-13 Bart Schaefer <schaefer@zsh.org> * Mikael Magnusson: 47382: Completion/Zsh/Context/_brace_parameter: diff --git a/Completion/Base/Utility/_store_cache b/Completion/Base/Utility/_store_cache index fb2ab328a..b08ff1142 100644 --- a/Completion/Base/Utility/_store_cache +++ b/Completion/Base/Utility/_store_cache @@ -2,7 +2,7 @@ # # Storage component of completions caching layer -local _cache_ident _cache_ident_dir +local _cache_ident _cache_ident_dir _cache_dir _cache_ident="$1" if zstyle -t ":completion:${curcontext}:" use-cache; then |