coreutils/coreutils-overflow.patch

14 lines
287 B
Diff
Raw Normal View History

2016-12-01 13:26:30 +00:00
diff --git a/src/who.c b/src/who.c
index 55733b4..3ad4774 100644
--- a/src/who.c
+++ b/src/who.c
@@ -81,7 +81,7 @@
# define UT_TYPE_NEW_TIME(U) false
#endif
-#define IDLESTR_LEN 6
+#define IDLESTR_LEN 10
#if HAVE_STRUCT_XTMP_UT_PID
# define PIDSTR_DECL_AND_INIT(Var, Utmp_ent) \