From 830e15a2416c6fcf4e01c039a300d2fe8a6376d1 Mon Sep 17 00:00:00 2001 From: "Steffen (Daode) Nurpmeso" Date: Thu, 20 Oct 2016 20:45:58 +0200 Subject: [PATCH] n_verr(): even without va_copy(3), limit buffer to 1 KB! --- auxlily.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auxlily.c b/auxlily.c index e413cb6e..81105495 100644 --- a/auxlily.c +++ b/auxlily.c @@ -947,7 +947,7 @@ jcreat: # ifdef HAVE_N_VA_COPY imax = 64; # else - imax = LINESIZE; + imax = MIN(LINESIZE, 1024); # endif for(i = imax;; imax = ++i /* xxx could wrap, maybe */){ # ifdef HAVE_N_VA_COPY -- 2.11.4.GIT