From 26aeae1f3e7131a10f4747164db3b4d5e8cbad21 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 4 Apr 2021 14:57:35 +0200 Subject: [PATCH] allow for larger strings (hex) to be input --- client/deps/cliparser/cliparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/deps/cliparser/cliparser.c b/client/deps/cliparser/cliparser.c index 174a540fc..ff7b71d94 100644 --- a/client/deps/cliparser/cliparser.c +++ b/client/deps/cliparser/cliparser.c @@ -261,7 +261,7 @@ int CLIParamStrToBuf(struct arg_str *argstr, uint8_t *data, int maxdatalen, int if (!argstr->count) return 0; - uint8_t tmpstr[(256 * 2) + 1] = {0}; + uint8_t tmpstr[(512 * 2) + 1] = {0}; int ibuf = 0; for (int i = 0; i < argstr->count; i++) {