From 1d3a5c99a2881054ba16634d9291942e2d4d2614 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Artur=20=C5=9Awigo=C5=84?= Date: Thu, 11 Mar 2021 15:12:17 +0100 Subject: [PATCH] Use absolute path in shell script This change prevents running another (possibly malicious) command with the same name by modifying the PATH. Change-Id: I002a0260e2c385dd9da533a7587bf9056fcab549 --- tests/VConf_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/VConf_init.sh b/tests/VConf_init.sh index f27929c..dfa6d97 100755 --- a/tests/VConf_init.sh +++ b/tests/VConf_init.sh @@ -1,6 +1,6 @@ #!/bin/bash -VCONFTOOL="vconftool set -f -t" +VCONFTOOL="/bin/vconftool set -f -t" $VCONFTOOL int VconfImplTest/int/20 20 $VCONFTOOL string VconfImplTest/string/foo "foo" -- 2.7.4