From 46a35d57f2565b306285023b27d28187167205c8 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 14 Feb 2020 14:17:16 -0500 Subject: limit the max message size --- src/util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/util.cpp b/src/util.cpp index ce98b22..8ca01aa 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -63,7 +63,8 @@ const char *SALTICIDAE_ERROR_STRINGS[] = { "rand source is not available, try again", "connection is not ready", "operation not available", - "unknown error" + "unknown error", + "oversized message", }; const char *TTY_COLOR_RED = "\x1b[31m"; -- cgit v1.2.3