projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f52f0
)
libubus: fix stack space init for processing requests
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 30 Oct 2012 12:41:17 +0000
(13:41 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 30 Oct 2012 12:41:28 +0000
(13:41 +0100)
Fixes client timeouts on invoke on some platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-obj.c
patch
|
blob
|
history
diff --git
a/libubus-obj.c
b/libubus-obj.c
index 532a7fa72ab548c3ce65608ebf92a2bf2db42603..cf50904a7d45092b8b72a2e88a3e4766455c4e98 100644
(file)
--- a/
libubus-obj.c
+++ b/
libubus-obj.c
@@
-17,7
+17,7
@@
void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
{
struct blob_attr **attrbuf;
- struct ubus_request_data req;
+ struct ubus_request_data req
= {}
;
struct ubus_object *obj;
int method;
int ret = 0;