[tor-commits] [torsocks/master] Fix: quote torsocks script shell arguments

dgoulet at torproject.org dgoulet at torproject.org
Fri Apr 4 22:40:27 UTC 2014


commit 50a6aba54f60bb91e91270d91b38984eac19f649
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Mon Dec 9 17:07:18 2013 -0500

    Fix: quote torsocks script shell arguments
    
    Reported-by: Jérémy Bobbio <lunar at debian.org>
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/bin/torsocks.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/torsocks.in b/src/bin/torsocks.in
index aebd2d4..9abc5e8 100644
--- a/src/bin/torsocks.in
+++ b/src/bin/torsocks.in
@@ -172,6 +172,6 @@ case "$1" in
 		echo "Torsocks @VERSION@"
 		;;
 	*)
-		torify_app $@
+		torify_app "$@"
 		;;
 esac





More information about the tor-commits mailing list