buffer overflow in receive_file_entry

Wayne Davison wayned at samba.org
Fri Mar 24 01:26:12 GMT 2006

On Thu, Mar 23, 2006 at 07:22:22PM -0500, Robert Fitzpatrick wrote:
> I assume this means it is having problems with the length of the file
> name?

Yes.  The output you cited indicates that the combined filename would be
124+137 = 261 bytes, which overflows the horrendously small MAXPATHLEN
size under MS Windows.  The only way to work around this at present is
to start the transfer deeper in the hierarchy.  (The patch you cited is
for something different, and is already present in 2.6.6.)


More information about the rsync mailing list