An ubus RPC daemon for Liminix
Find a file
Jo-Philipp Wich d3f2041f43 uci: manually clear uci_ptr flags after uci_delete() operations
This is required to avoid potential use-after-free errors through the
uci_set()->uci_delete()->uci_expand_ptr() call chain when passing
zero-length strings as values.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3528
Suggested-by: olegio170 <olegios170@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-01-17 21:14:46 +01:00
include/rpcd rc: new ubus object for handling /etc/init.d/ scripts 2020-09-10 13:18:09 +02:00
CMakeLists.txt rc: new ubus object for handling /etc/init.d/ scripts 2020-09-10 13:18:09 +02:00
exec.c exec: always call finish_cb to allow plugin to free up memory 2019-10-29 09:24:46 +01:00
file.c file: extend exec acl checks to commands with arguments 2019-12-11 09:13:05 +01:00
iwinfo.c iwinfo: include ht_operation data only if available 2021-01-06 19:42:14 +00:00
main.c rc: new ubus object for handling /etc/init.d/ scripts 2020-09-10 13:18:09 +02:00
plugin.c plugin: avoid truncating numeric values 2019-11-10 21:26:51 +01:00
rc.c rc: support init.d scripts with START=0 2020-09-18 08:10:56 +02:00
session.c session: deny access if password login is disabled 2020-03-17 19:33:35 +01:00
sys.c sys: fix symbol redeclaration 2019-09-04 15:51:39 +02:00
uci.c uci: manually clear uci_ptr flags after uci_delete() operations 2021-01-17 21:14:46 +01:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00