From a9e00aa861502c425fec66281598a763f395b136 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Mon, 13 Nov 2023 16:10:53 +0100 Subject: [PATCH] Increase decoded protobuf buffer size --- Makefile | 2 +- src/process_transaction.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 125f533a..e7b08657 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ APP_LOAD_PARAMS += $(COMMON_LOAD_PARAMS) APPNAME = "Exchange" APPVERSION_M = 3 APPVERSION_N = 3 -APPVERSION_P = 1 +APPVERSION_P = 2 APPVERSION = $(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-dev ifdef TESTING diff --git a/src/process_transaction.c b/src/process_transaction.c index 549ff0e0..1b0febca 100644 --- a/src/process_transaction.c +++ b/src/process_transaction.c @@ -144,7 +144,7 @@ static bool deserialize_protobuf_payload(buf_t payload, void *dest_struct; // Temporary buffer if the received payload is encoded. Size is arbitrary - unsigned char decoded[256]; + unsigned char decoded[512]; buf_t to_deserialize;