posix: uname: increase version name length

to 70 to prevent overflowing the char array.

Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2024-04-26 00:31:25 +08:00 committed by Fabio Baltieri
parent 83db378dc5
commit 4363a787b1

View file

@ -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.