mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 17:04:33 +04:00
Fix a buffer overflow in case the query string is too long. Signed-off-by: Moritz Warning <moritzwarning@web.de>
9 lines
205 B
Bash
Executable File
9 lines
205 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check if nodogsplash is running
|
|
if ndsctl status &> /dev/null; then
|
|
if [ "$(uci -q get nodogsplash.@nodogsplash[0].fwhook_enabled)" = "1" ]; then
|
|
/etc/init.d/nodogsplash restart
|
|
fi
|
|
fi
|