[rtems commit] sys/utsname.h: Increase buffer to avoid overflow
Joel Sherrill
joel at rtems.org
Thu Jun 22 14:04:33 UTC 2017
Module: rtems
Branch: master
Commit: d8b548160f6b52cace3165aa2eed8c1e0a97a46c
Changeset: http://git.rtems.org/rtems/commit/?id=d8b548160f6b52cace3165aa2eed8c1e0a97a46c
Author: Joel Sherrill <joel at rtems.org>
Date: Thu Jun 15 12:41:04 2017 -0500
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 95dc2c1..ddeb0e9 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 {
More information about the vc
mailing list