git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662fedd
)
One more >= tweak.
author
Wayne Davison
<wayne@opencoder.net>
Sun, 21 Jun 2020 22:30:34 +0000
(15:30 -0700)
committer
Wayne Davison
<wayne@opencoder.net>
Sun, 21 Jun 2020 22:30:34 +0000
(15:30 -0700)
clientserver.c
patch
|
blob
|
history
diff --git
a/clientserver.c
b/clientserver.c
index 6eb41beccbc67073a24308274e9f8bedb8c0b9b6..b790974c3d97d1615e6be90b558e3932e09e3594 100644
(file)
--- 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;
}