Filter the init script name parameter through fs.basename() to avoid
invoking paths outside of /etc/init.d/.
Reported-by: Graham R <gr348@cam.ac.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
|
||
---|---|---|
.. | ||
luci-base | ||
luci-compat | ||
luci-mod-admin-full | ||
luci-mod-admin-mini | ||
luci-mod-failsafe | ||
luci-mod-network | ||
luci-mod-rpc | ||
luci-mod-status | ||
luci-mod-system |