rsync 3.0.5 - ERROR: buffer overflow in recv_file_entry
wayned at samba.org
Sat Feb 21 15:48:18 GMT 2009
On Mon, Feb 16, 2009 at 02:54:36PM +0100, dragy at wp.pl wrote:
> overflow: xflags=0x7a l1=255 l2=779
This is the error rsync gives when the file and path exceed the
MAXPATHLEN size for your system. The receiver updates all the files
from the base of the transfer, so the names need to fit within the
maximum size that your OS's system calls can handle, or rsync dies.
The numbers show that your MAXPATHLEN is less than 779+255, so it's
probably set to an unusually small 1024. If your system can actually
handle longer paths, recompile rsync with a better MAXPATHLEN size.
In rsync.h, MAXPATHLEN is defined to 1024 if the value is not defined
at all, so try increasing that value (try 4096). If instead your OS
defines the size to 1024, you can try adding an "#undef MAXPATHLEN"
before the "#ifndef MAXPATHLEN" line and see if things work with a
More information about the rsync