[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sun Jun 21 22:30:59 UTC 2020


The branch, master has been updated
       via  a7c1690d One more >= tweak.
      from  662fedd7 Get the early-input reading code right.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a7c1690d625e3b5a70cd5117169d4810cf435c44
Author: Wayne Davison <wayne at opencoder.net>
Date:   Sun Jun 21 15:30:34 2020 -0700

    One more >= tweak.

-----------------------------------------------------------------------

Summary of changes:
 clientserver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

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;
 		}


-- 
The rsync repository.



More information about the rsync-cvs mailing list