summaryrefslogtreecommitdiff
path: root/libubus-io.c
diff options
context:
space:
mode:
authorDenis Osvald <denis.osvald@sartura.hr>2016-08-25 13:54:52 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-25 13:58:11 +0200
commitd6bb4f1a1ddab325024966cd79abd34364dfdd15 (patch)
treec02b9ab720f26acc6f5bcb40c1382ffd8987b47a /libubus-io.c
parent686c05d738a7a1f7ec62c47807f07f6f642904b1 (diff)
downloadubus-d6bb4f1a1ddab325024966cd79abd34364dfdd15.tar.gz
ubusd: don't check ACL when object is NULL
If there are any ACLs present other than global wildcard "*", the AVL tree comparator will compare ACL key to object name. However, object name can be NULL in cases where ACL check is done on call to internal ubus objects (e.g. ubus monitor). With this change we skip checking ACLs on such NULL objects. Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
Diffstat (limited to 'libubus-io.c')
0 files changed, 0 insertions, 0 deletions