From: Wayne Davison Date: Tue, 29 Sep 2020 19:57:32 +0000 (-0700) Subject: Expand the max name_num_item list size. X-Git-Tag: v3.2.4pre1~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acca9d43d3143113088efa76d561b813735f1a73;p=thirdparty%2Frsync.git Expand the max name_num_item list size. --- diff --git a/rsync.h b/rsync.h index 68dfba51..9d5c8008 100644 --- a/rsync.h +++ b/rsync.h @@ -1164,7 +1164,7 @@ struct name_num_obj { uchar *saw; int saw_len; int negotiated_num; - struct name_num_item list[8]; /* A big-enough len (we'll get a compile error if it is ever too small) */ + struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */ }; #ifndef __cplusplus