From c08177a3af6dd7f6c74360c1cd10933c98457bee Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 12 Oct 2021 21:29:42 +0800 Subject: [PATCH] Banner size should account for newlines --- sysoptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysoptions.h b/sysoptions.h index 0dbeca4..c36e8e0 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -50,7 +50,7 @@ #define MIN_RSA_KEYLEN 1024 #endif -#define MAX_BANNER_SIZE 2000 /* this is 25*80 chars, any more is foolish */ +#define MAX_BANNER_SIZE 2050 /* this is 25*80 chars, any more is foolish */ #define MAX_BANNER_LINES 20 /* How many lines the client will display */ /* the number of NAME=VALUE pairs to malloc for environ, if we don't have