DO NOT REPLY [Bug 6027] New: Error when rsync encounters empty symlinks

samba-bugs at samba-bugs at
Tue Jan 13 14:20:07 GMT 2009

           Summary: Error when rsync encounters empty symlinks
           Product: rsync
           Version: 3.0.4
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: kai at
         QAContact: rsync-qa at

Recently I needed to recover a system with a damaged file system. After fsck
there were some symlinks broken, pointing to nowhere (or better pointing to an
empty file name, it showed up as "filename ->" in "ls -al").

Rsync fails to sync these symlinks, it just breaks with the following message:
ERROR: buffer overflow in recv_file_entry

Instead I wished either rsync correctly sync'ing these - or if empty symlinks
cannot be created it should skip these and issue a warning but not exit with a
buffer overflow.

Manually deleting the broken symlinks from the source solved this (thus setting
this bug to "minor"), but it was much work and I needed to recover rsync
several times.

Configure bugmail:
------- 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