One more >= tweak.

This commit is contained in:
Wayne Davison committed 2020-06-21 15:30:34 -07:00
1 parent 662fedd74b
commit a7c1690d62
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}