From 7524420b35ea75e3617b4a1f003b278742e7acd2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 1 Mar 2003 02:34:14 +0000 Subject: Guard some buffers. svn path=/trunk/; revision=3804 --- sink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index 369ab024..aee27f7e 100644 --- a/sink.c +++ b/sink.c @@ -1468,7 +1468,8 @@ va_dcl #endif /* format and ship a warning message line by mail */ { - char buf[MSGBUFSIZE+4]; + /* make huge -- i18n can bulk up error messages a lot */ + char buf[2*MSGBUFSIZE+4]; va_list ap; /* -- cgit v1.2.3