From 4363a787b192c189240974ad67779ddcdec3bf1c Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Fri, 26 Apr 2024 00:31:25 +0800 Subject: [PATCH] posix: uname: increase version name length to 70 to prevent overflowing the char array. Signed-off-by: Yong Cong Sin --- lib/posix/options/Kconfig.uname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posix/options/Kconfig.uname b/lib/posix/options/Kconfig.uname index 09b52602db..8b44822524 100644 --- a/lib/posix/options/Kconfig.uname +++ b/lib/posix/options/Kconfig.uname @@ -12,7 +12,7 @@ menuconfig POSIX_UNAME if POSIX_UNAME config POSIX_UNAME_VERSION_LEN int "uname version string length" - default 60 + default 70 help Defines the maximum string length of uname version.