From b32b2eb5f2eac9500fd918d17745f5f2e5f7023f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Mon, 29 Dec 2014 17:17:47 +0100 Subject: [PATCH] Handle strings in a more secure manner in the tex2ima script --- bin/tex2ima | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tex2ima b/bin/tex2ima index eed8844..7e056a5 100755 --- a/bin/tex2ima +++ b/bin/tex2ima @@ -24,8 +24,8 @@ color2="black" while getopts o:s: Options; do case $Options in - s) TEXCODE=$OPTARG;; - o) outfile=$OPTARG;; + s) TEXCODE="$OPTARG";; + o) outfile="$OPTARG";; esac; done -- 2.43.5