projects
/
platform
/
core
/
system
/
initrd-flash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f37b2
)
script: flash-init: Add default PATH variable
01/235901/1
accepted/tizen/unified/20200618.015753
submit/tizen/20200617.105114
author
Dongwoo Lee
<dwoo08.lee@samsung.com>
Thu, 11 Jun 2020 00:55:37 +0000
(09:55 +0900)
committer
Dongwoo Lee
<dwoo08.lee@samsung.com>
Thu, 11 Jun 2020 00:55:37 +0000
(09:55 +0900)
To mitigate security vulnerability, this defines default PATH
variable explicitly.
Change-Id: Idb828873481fe442ddf4ed3a6a89854590420e78
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
scripts/flash-init.sh
patch
|
blob
|
history
diff --git
a/scripts/flash-init.sh
b/scripts/flash-init.sh
index
33c1f8e
..
3d0084d
100755
(executable)
--- a/
scripts/flash-init.sh
+++ b/
scripts/flash-init.sh
@@
-1,5
+1,7
@@
#!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
INFORM_FILE=reboot-param.bin
INFORM_MOUNT_PATH=/mnt/inform
TMP_PATH=/tmp