From d4cce0e2cf8717560cbbd9728346eb1c9781a650 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Danis?= Date: Wed, 19 Oct 2022 22:30:28 +0200 Subject: [PATCH] shared/util: Increase debug trace buffer size Most of the debug traces are longer than 78 characters, increase the buffer to not lost trace's end Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index 1f448c8..05b5639 100755 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -64,7 +64,7 @@ void *util_memdup(const void *src, size_t size) void util_debug_va(util_debug_func_t function, void *user_data, const char *format, va_list va) { - char str[78]; + char str[MAX_INPUT]; if (!function || !format) return; -- 2.7.4