projects
/
profile
/
mobile
/
apps
/
native
/
accessibility-setting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad38d7
)
Use absolute path in shell script
60/255060/1
author
Artur Świgoń
<a.swigon@samsung.com>
Thu, 11 Mar 2021 14:12:17 +0000
(15:12 +0100)
committer
Artur Świgoń
<a.swigon@samsung.com>
Thu, 11 Mar 2021 14:12:17 +0000
(15:12 +0100)
This change prevents running another (possibly malicious) command with
the same name by modifying the PATH.
Change-Id: I002a0260e2c385dd9da533a7587bf9056fcab549
tests/VConf_init.sh
patch
|
blob
|
history
diff --git
a/tests/VConf_init.sh
b/tests/VConf_init.sh
index
f27929c
..
dfa6d97
100755
(executable)
--- 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"