Displaying 2 results from an estimated 2 matches for "name_num_item".
2023 May 16
1
xfer_sum_len type bug
...-Naur rsync-3.2.7.patch_orig/checksum.c rsync-3.2.7.patched/checksum.c
--- rsync-3.2.7.patch_orig/checksum.c 2023-05-16 14:17:31.078521657 -0400
+++ rsync-3.2.7.patched/checksum.c 2023-05-16 15:36:44.253892249 -0400
@@ -98,7 +98,7 @@
{ CSUM_MD5, NNI_BUILTIN, "md5", NULL };
struct name_num_item *xfer_sum_nni; /* used for the transfer checksum2 computations */
-int xfer_sum_len;
+size_t xfer_sum_len;
struct name_num_item *file_sum_nni; /* used for the pre-transfer --checksum computations */
int file_sum_len, file_sum_extra_cnt;
diff -Naur rsync-3.2.7.patch_orig/match.c rsync-3.2.7.patc...
2020 Sep 27
1
strange crash with md5p8.diff + xxhash
...ee in parse_arguments (argc_p=argc_p at entry=0x7fffffffc0dc,
argv_p=argv_p at entry=0x7fffffffc0d0) at options.c:1897
#5 0x0000000000404de1 in main (argc=<optimized out>, argv=<optimized out>)
at main.c:1747
%%
Turns out the comment in rsync.h: (struct name_num_obj):
struct name_num_item list[8]; /* A big-enough len (we'll get a compile error if it is ever too small) */
isn't correct. I don't get a compile error. (gcc version 9.2.0 (Gentoo
9.2.0-r3 p4)) and there are more than 8 elements in
checksum.c: (valid_checksums)