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:
parent
a6f52f058e
commit
9f706a2d27
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
|
void __hidden ubus_process_invoke(struct ubus_context *ctx, struct ubus_msghdr *hdr)
|
||||||
{
|
{
|
||||||
struct blob_attr **attrbuf;
|
struct blob_attr **attrbuf;
|
||||||
struct ubus_request_data req;
|
struct ubus_request_data req = {};
|
||||||
struct ubus_object *obj;
|
struct ubus_object *obj;
|
||||||
int method;
|
int method;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue