From bea195a2e8d8e26af7511a65af4c8641cb4d1c4f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 10 Sep 2020 17:28:06 +0200 Subject: Even better parse --- src/p_args_next.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/p_args_next.c') diff --git a/src/p_args_next.c b/src/p_args_next.c index 6fd6b08..ea8dd81 100644 --- a/src/p_args_next.c +++ b/src/p_args_next.c @@ -12,6 +12,7 @@ #include #include +#include #include "d_define.h" #include "p_args.h" @@ -49,7 +50,7 @@ uint16_t const uint16_t argc, const size_t start[]) { - char tmp[4096]; + char tmp[ARG_MAX]; uint16_t i; i = 0; -- cgit v1.2.3