From: Wayne Davison Date: Sun, 21 Jun 2020 22:30:34 +0000 (-0700) Subject: One more >= tweak. X-Git-Tag: v3.2.1pre1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7c1690d625e3b5a70cd5117169d4810cf435c44;p=thirdparty%2Frsync.git One more >= tweak. --- 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; }