From a25942878d75212e7cbd833f7709899275f597f5 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Fri, 15 Mar 2024 14:24:40 +0800 Subject: [PATCH] fix: sprintf release build report buffer too small --- tools/shell/src/shellEngine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/shell/src/shellEngine.c b/tools/shell/src/shellEngine.c index 5c71396ea9..c8125e0c5e 100644 --- a/tools/shell/src/shellEngine.c +++ b/tools/shell/src/shellEngine.c @@ -1368,7 +1368,7 @@ int32_t shellExecute() { #ifdef WEBSOCKET if (!shell.args.restful && !shell.args.cloud) { #endif -char buf[512] = ""; +char buf[2048] = ""; bool community = shellGetGrantInfo(buf); #ifndef WINDOWS printfIntroduction(community);