From: Felix Fietkau Date: Tue, 30 Oct 2012 12:41:17 +0000 (+0100) Subject: libubus: fix stack space init for processing requests X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=9f706a2d27719ff39bbe71472f48a791ec306164;p=project%2Fubus.git libubus: fix stack space init for processing requests Fixes client timeouts on invoke on some platforms Signed-off-by: Felix Fietkau --- diff --git a/libubus-obj.c b/libubus-obj.c index 532a7fa..cf50904 100644 --- 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;