From a7c1690d625e3b5a70cd5117169d4810cf435c44 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 21 Jun 2020 15:30:34 -0700 Subject: [PATCH] One more >= tweak. --- clientserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientserver.c b/clientserver.c index 6eb41bec..b790974c 100644 --- a/clientserver.c +++ b/clientserver.c @@ -1229,7 +1229,7 @@ int start_daemon(int f_in, int f_out) if (strncmp(line, EARLY_INPUT_CMD, EARLY_INPUT_CMDLEN) == 0) { early_input_len = strtol(line + EARLY_INPUT_CMDLEN, NULL, 10); - if (early_input_len <= 0 || early_input_len >= BIGPATHBUFLEN) { + if (early_input_len <= 0 || early_input_len > BIGPATHBUFLEN) { io_printf(f_out, "@ERROR: invalid early_input length\n"); return -1; } -- 2.34.1