From d8b548160f6b52cace3165aa2eed8c1e0a97a46c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 15 Jun 2017 12:41:04 -0500 Subject: sys/utsname.h: Increase buffer to avoid overflow --- cpukit/libcsupport/include/sys/utsname.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/include/sys/utsname.h b/cpukit/libcsupport/include/sys/utsname.h index 95dc2c1c63..ddeb0e90c2 100644 --- a/cpukit/libcsupport/include/sys/utsname.h +++ b/cpukit/libcsupport/include/sys/utsname.h @@ -39,11 +39,11 @@ extern "C" { */ #ifdef _KERNEL -#define SYS_NMLN 32 /* uname(2) for the FreeBSD 1.1 ABI. */ +#define SYS_NMLN 48 /* uname(2) for the FreeBSD 1.1 ABI. */ #endif #ifndef SYS_NMLN -#define SYS_NMLN 32 /* User can override. */ +#define SYS_NMLN 48 /* User can override. */ #endif struct utsname { -- cgit v1.2.3