summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-02-04 04:36:41 +0000
committermrg <mrg@NetBSD.org>2019-02-04 04:36:41 +0000
commit68d6437c47f4abba28cd5e3635ce619bb43187c3 (patch)
treeda220f2c9513babf3e25e6838a6573ad19ce3b28 /libexec
parent1d2aedfaad93d21f3805445f140655c974a67335 (diff)
- bump buffer sizes to avoid potential truncation issues
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/utility.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c
index 53f6417c635..7590fd77ede 100644
--- a/libexec/telnetd/utility.c
+++ b/libexec/telnetd/utility.c
@@ -1,4 +1,4 @@
-/* $NetBSD: utility.c,v 1.32 2012/01/09 16:36:48 christos Exp $ */
+/* $NetBSD: utility.c,v 1.33 2019/02/04 04:36:41 mrg Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: utility.c,v 1.32 2012/01/09 16:36:48 christos Exp $");
+__RCSID("$NetBSD: utility.c,v 1.33 2019/02/04 04:36:41 mrg Exp $");
#endif
#endif /* not lint */
@@ -717,7 +717,7 @@ printsub(
break;
}
{
- char tbuf[32];
+ char tbuf[40];
(void)snprintf(tbuf, sizeof tbuf, "%s%s%s%s%s",
pointer[2]&MODE_EDIT ? "|EDIT" : "",