DO NOT REPLY [Bug 3649] buffer overflow in receive_file_entry

samba-bugs at samba-bugs at
Mon Jan 3 17:50:02 MST 2011

wayned at changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME

------- Comment #3 from wayned at  2011-01-03 18:50 CST -------
The original error was for an impossibly large filename length, and thus an
indication of a protocol issue.  If increasing the receive buffer size to
something bigger makes rsync work, that is an indication that your system files
are buggy, because any string larger than MAXPATHLEN should not be accepted by
things like open().

So, for the issue reported by Daniel, the correct fix is not to change rsync,
but to get the system include files fixed.  Failing that, you could kluge a
larger, more correct value for MAXPATHLEN in rsync.h using a combination of
#undef MAXPATHLEN and #define MAXPATHLEN

As before, if someone has a reproducible case for an actual protocol error,
please let us know.

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