projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libubus: limit stack depth for incoming invoke requests
[project/ubus.git]
/
libubus.h
diff --git
a/libubus.h
b/libubus.h
index
55c59e4
..
0dcbb6d
100644
(file)
--- a/
libubus.h
+++ b/
libubus.h
@@
-93,11
+93,13
@@
struct ubus_event_handler {
struct ubus_context {
struct list_head requests;
struct avl_tree objects;
+ struct list_head pending;
struct uloop_fd sock;
uint32_t local_id;
uint32_t request_seq;
+ int stack_depth;
void (*connection_lost)(struct ubus_context *ctx);