search for: ndx_start

Displaying 12 results from an estimated 12 matches for "ndx_start".

Did you mean: ndr_start
2009 Jul 08
3
DO NOT REPLY [Bug 6542] New: rsync: hlink.c:125: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed.
https://bugzilla.samba.org/show_bug.cgi?id=6542 Summary: rsync: hlink.c:125: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed. Product: rsync Version: 3.0.6 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: Dave@Yost.com QACon...
2015 Sep 09
2
large rsync fails with assertion error
rsyncing a tree of perhaps 30M files, getting this: rsync: hlink.c:126: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed. then a bit more output and the parent catches up to the child: rsync:...
2012 Jun 05
2
[Bug 8979] New: rsync daemon: High load while skipping hardlinks
https://bugzilla.samba.org/show_bug.cgi?id=8979 Summary: rsync daemon: High load while skipping hardlinks Product: rsync Version: 3.0.5 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: simon.klinkert at
2015 Sep 09
0
large rsync fails with assertion error
...a way to upgrade. Using: rsync version 3.1.1 protocol version 31 on receiving side that issues the rsync command, and rsync version 3.1.1 protocol version 31 on the remote sending side. Im still getting the same thing: rsync: hlink.c:126: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed. /kc On Wed, Sep 09, 2015 at 12:58:30AM -0400, Ken Chase said: >rsyncing a tree of perhaps 30M files, getting this: > >rsync: hlink.c:126: m...
2018 Jul 12
1
[Bug 13526] New: Hard link creation time
...creation time patch. The 2nd hard link is reported that its creation time is modified. I traced into rsync and the creation time is the one of the file just before it. I think I got it : after this, in recv_file_entry(), in flist.c, line 787 in version 3.1.3 if (first_hlink_ndx >= flist->ndx_start) { struct file_struct *first = flist->files[first_hlink_ndx - flist->ndx_start]; file_length = F_LENGTH(first); we should add "crtime = f_crtime(first);" just after. -- You are receiving this mail because: You are the QA Contact for the bug.
2007 Dec 13
3
rsync 3.00pre6 segfault in add_dirs_to_tree
Hi All I run rsync in an automated environment and it sometime will crash and leave a core dump file. from core dump, gdb shows that gdb) bt #0 add_dirs_to_tree (parent_ndx=-1, from_flist=0x56c590, dir_cnt=1) at flist.c:1422 #1 0x0000000000409eab in send_file_list (f=16, argc=-1, argv=0x56c238) at flist.c:2068 #2 0x0000000000419052 in client_run (f_in=16, f_out=16, pid=-1, argc=1,
2008 Mar 26
1
rsync 3.0.1pre -H fails assertion
Wayne, I have this bug in redhat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=439074 Summary: rsync 3.0.1pre -H fails assertion Is it ok to pass this kind of bug directly upstream filing a new bug in bugzilla and linking the fedora bug ? (There is also a reproducer there) Simo. -- Simo Sorce * Red Hat, Inc * New York
2014 Dec 01
2
[Bug 10977] New: Rsync path spoofing attack vulnerability (rsync 3.1.1 tested)
...ays "received request to transfer non-regular file fakedir/pwned.test 7 [sender]", But as an attacker, the code of the server-side can be arbitrarily controlled,Shielding the following code. file:rsync.c line:405 /* if (iflags & ITEM_TRANSFER) { int i = ndx - cur_flist->ndx_start; if (i < 0 || !S_ISREG(cur_flist->files[i]->mode)) { rprintf(FERROR, "received request to transfer non-regular file: %d [%s]\n", ndx, who_am_i()); exit_cleanup(RERR_PROTOCOL); } } */ Vulnerability Demo...
2014 Nov 14
6
[Bug 10936] New: Rsync path hijacking attack vulnerability
...and says ?received request to transfer non-regular file /root/pwned.test 7 [sender]?,But as an attacker, the code of the server-side can be arbitrarily controlled,Shielding the following code. file:rsync.c line:405? /* if (iflags & ITEM_TRANSFER) { int i = ndx - cur_flist->ndx_start; if (i < 0 || !S_ISREG(cur_flist->files[i]->mode)) { rprintf(FERROR, "received request to transfer non-regular file: %d [%s]\n", ndx, who_am_i()); exit_cleanup(RERR_PROTOCOL); } } */ The file "p...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...THLEN]; uchar fnamecmp_type; - int implied_dirs_are_missing = relative_paths && !implied_dirs && protocol_version < 30; int del_opts = delete_mode || force_delete ? DEL_RECURSE : 0; int is_dir = !S_ISDIR(file->mode) ? 0 : inc_recurse && ndx != cur_flist->ndx_start - 1 ? -1 @@ -1258,22 +1268,16 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, return; } - if (missing_below >= 0) { - if (F_DEPTH(file) <= missing_below - || (implied_dirs_are_missing && !f_name_has_prefix(file, missing_dir))) { - if (dry_run)...
2010 Jun 15
3
about rsyncing of block devices
...serve_perms; extern int preserve_executability; extern int preserve_times; +extern int copy_devices; extern int am_root; extern int am_server; extern int am_sender; @@ -328,7 +329,8 @@ int read_ndx_and_attrs(int f_in, int *if if (iflags & ITEM_TRANSFER) { int i = ndx - cur_flist->ndx_start; - if (i < 0 || !S_ISREG(cur_flist->files[i]->mode)) { + struct file_struct *file = cur_flist->files[i]; + if (i < 0 || !(S_ISREG(file->mode) || (copy_devices && IS_DEVICE(file->mode)))) { rprintf(FERROR, "received request to transfer non-regular file:...
2011 Dec 16
5
[Bug 8666] New: --debug=all9 fail
https://bugzilla.samba.org/show_bug.cgi?id=8666 Summary: --debug=all9 fail Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: chris at onthe.net.au QAContact: rsync-qa at