libubus: fix stack space init for processing requests

Fixes client timeouts on invoke on some platforms

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2012-10-30 13:41:17 +01:00
parent a6f52f058e
commit 9f706a2d27

View file

@ -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;