From 24b81f6048e550e42cc1c6676cb3d630c8fa1ab5 Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 20 Jun 2017 08:13:03 -1000 Subject: [PATCH] Handle bigger arguments to muxrpc method calls --- sbotc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbotc.c b/sbotc.c index 5ba8dc5..1b464c9 100644 --- a/sbotc.c +++ b/sbotc.c @@ -548,7 +548,7 @@ static int ps_read_header(struct boxs *bs, size_t *len, int *req_id, enum pkt_fl } static void muxrpc_call(struct boxs *bs, const char *method, const char *argument, enum muxrpc_type type, const char *typestr, int req_id) { - char req[8096]; + char req[33792]; // 32768 max message value size + 1024 extra ssize_t reqlen; bool is_request = type == muxrpc_type_async;