DO NOT REPLY [Bug 5459] New: Large amount of files makes checksum count negative

samba-bugs at samba.org samba-bugs at samba.org
Mon May 12 12:40:19 GMT 2008


https://bugzilla.samba.org/show_bug.cgi?id=5459

           Summary: Large amount of files makes checksum count negative
           Product: rsync
           Version: 3.0.2
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: count-linux at flatline.de
         QAContact: rsync-qa at samba.org


read_sum_head() in io.c expects the checksum count to be a signed int (most
likely should be long). For large file counts, this can become negative:

receiving file list ...
2289961 files to consider
Invalid checksum count -909869055 [sender]
rsync error: protocol incompatibility (code 2) at io.c(1361) [sender=3.0.2]
rsync: connection unexpectedly closed (31026252 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635)
[receiver=3.0.2]
rsync: connection unexpectedly closed (31026252 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(635)
[generator=3.0.2]

... and this is only a subfolder. Working with the original 55137908 in one
block doesn't work at all.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list