mirror of
https://github.com/openwrt/luci.git
synced 2025-12-24 10:38:24 +04:00
Rework the parameter handling to both prevent a crash when no parameter is
given and to prevent root command injection through the mtd index part of
the parameter value.
Fixes: 9840d310e ("modules: add backup module for mtdblock devices")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
12 KiB
12 KiB