From 03f4ae25fcdb7dd0183d53999eea60634637ef80 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 30 May 2019 01:21:28 -0700 Subject: [PATCH] patch small security concern --- sh/fasd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/fasd b/sh/fasd index 4642a25..6e82298 100644 --- a/sh/fasd +++ b/sh/fasd @@ -152,7 +152,7 @@ EOS zsh-hook) cat <> "$_FASD_SINK" 2>&1 + { fasd --proc \$(fasd --sanitize "\${2:q}") } >> "$_FASD_SINK" 2>&1 } autoload -Uz add-zsh-hook add-zsh-hook preexec _fasd_preexec