An ubus RPC daemon for Liminix
Find a file
Jo-Philipp Wich 51980c687b uci: reject invalid section and option names
The invoked libuci functions do not reliably check their arguments, causing
malformed section and option names to end up in the delta file, letting the
uci cli and other components to segfault when processung such invalid
entries.

In order to prevent that, manually test received values before passing them
on to libuci.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-08 23:58:37 +02:00
include/rpcd session: support reclaiming pending apply session 2018-03-15 12:29:15 +01:00
CMakeLists.txt cmake: Find libubox/blobmsg_json.h 2016-12-11 09:16:30 +01:00
exec.c exec: close stdout and stderr streams on child signal 2018-05-08 20:47:17 +02:00
file.c file: add myself in Copyright header 2016-04-12 17:15:27 +02:00
iwinfo.c iwinfo: expose available HT rates 2016-06-30 00:36:01 +02:00
main.c paths: substitute literal with macro 2015-11-20 18:00:28 +01:00
plugin.c plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library 2017-11-09 15:49:15 +01:00
session.c session: ignore non-string username attribute upon restore 2018-03-15 12:29:15 +01:00
sys.c sys: packagelist: allow listing all packages 2017-12-06 18:44:23 +01:00
uci.c uci: reject invalid section and option names 2018-08-08 23:58:37 +02:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00