dragy@wp.pl
2009-Feb-16 13:54 UTC
rsync 3.0.5 - ERROR: buffer overflow in recv_file_entry [generator]
Hi, Rsync 3.0.5 on both sides. receiver is Open Solaris and sender is Linux. I got a nested directory - relatively depth but still it should work. It fails instead. sending daemon args: --server --sender -vvlWHogDtpre.is --ignore-errors --numeric-ids --inplace . TEST/ receiving incremental file list delta-transmission disabled for local transfer or --whole-file [...] overflow: xflags=0x7a l1=255 l2=779 lastname=XXXX/ZZZZZ/c/OOOOOOO/www/sigs etc/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations [receiver] ERROR: buffer overflow in recv_file_entry [receiver] rsync error: error allocating core memory buffers (code 22) at util.c(123) [receiver=3.0.5] I also tried rsync 2.6.9 on client side and I got: opening tcp connection to saturn.nildram.co.uk port 873 opening connection using --server --sender -vvlWHogDtpr --ignore-errors --numeric-ids --inplace . ALL/ receiving file list ... [receiver] expand file_list to 262144 bytes, did move [receiver] expand file_list to 524288 bytes, did move [receiver] expand file_list to 1048576 bytes, did move [receiver] expand file_list to 2097152 bytes, did move [receiver] expand file_list to 4194304 bytes, did move [receiver] expand file_list to 8388608 bytes, did move overflow: flags=0x7a l1=255 l2=779 lastname=XXXX/YYYYY/c/0000000/www/sigs etc/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations ERROR: buffer overflow in receive_file_entry [receiver] rsync error: error allocating core memory buffers (code 22) at util.c(121) [receiver=2.6.9] cd'ing locally to that directory is fine. -- Robert Milkowski http://milek.blogspot.com ---------------------------------------------------- Twoja rodzina na bliscy.pl Zobacz: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fbliscy.html&sid=647
Robert Milkowski
2009-Feb-18 09:03 UTC
rsync 3.0.5 - ERROR: buffer overflow in recv_file_entry [generator]
Hello dragy, Anyone? Monday, February 16, 2009, 1:54:36 PM, you wrote: dragy@wp.pl> Hi, dragy@wp.pl> Rsync 3.0.5 on both sides. receiver is Open Solaris and sender is Linux. dragy@wp.pl> I got a nested directory - relatively depth but still it should work. It dragy@wp.pl> fails instead. dragy@wp.pl> sending daemon args: --server --sender -vvlWHogDtpre.is --ignore-errors dragy@wp.pl> --numeric-ids --inplace . TEST/ dragy@wp.pl> receiving incremental file list dragy@wp.pl> delta-transmission disabled for local transfer or --whole-file dragy@wp.pl> [...] dragy@wp.pl> overflow: xflags=0x7a l1=255 l2=779 dragy@wp.pl> lastname=XXXX/ZZZZZ/c/OOOOOOO/www/sigs dragy@wp.pl> etc/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations dragy@wp.pl> [receiver] dragy@wp.pl> ERROR: buffer overflow in recv_file_entry [receiver] dragy@wp.pl> rsync error: error allocating core memory buffers (code 22) at dragy@wp.pl> util.c(123) [receiver=3.0.5] dragy@wp.pl> I also tried rsync 2.6.9 on client side and I got: dragy@wp.pl> opening tcp connection to saturn.nildram.co.uk port 873 dragy@wp.pl> opening connection using --server --sender -vvlWHogDtpr --ignore-errors dragy@wp.pl> --numeric-ids --inplace . ALL/ dragy@wp.pl> receiving file list ... dragy@wp.pl> [receiver] expand file_list to 262144 bytes, did move dragy@wp.pl> [receiver] expand file_list to 524288 bytes, did move dragy@wp.pl> [receiver] expand file_list to 1048576 bytes, did move dragy@wp.pl> [receiver] expand file_list to 2097152 bytes, did move dragy@wp.pl> [receiver] expand file_list to 4194304 bytes, did move dragy@wp.pl> [receiver] expand file_list to 8388608 bytes, did move dragy@wp.pl> overflow: flags=0x7a l1=255 l2=779 dragy@wp.pl> lastname=XXXX/YYYYY/c/0000000/www/sigs dragy@wp.pl> etc/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations/animations dragy@wp.pl> ERROR: buffer overflow in receive_file_entry [receiver] dragy@wp.pl> rsync error: error allocating core memory buffers (code 22) at dragy@wp.pl> util.c(121) [receiver=2.6.9] dragy@wp.pl> cd'ing locally to that directory is fine. dragy@wp.pl> -- dragy@wp.pl> Robert Milkowski dragy@wp.pl> http://milek.blogspot.com
Wayne Davison
2009-Feb-21 15:48 UTC
rsync 3.0.5 - ERROR: buffer overflow in recv_file_entry [generator]
On Mon, Feb 16, 2009 at 02:54:36PM +0100, dragy@wp.pl wrote:> overflow: xflags=0x7a l1=255 l2=779This 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 forced value. ..wayne..
Seemingly Similar Threads
- [Bug 8001] New: buffer overflow in recv_file_entry (maxpathlen doesn't works)
- Differentiating debug messages from both sides
- Rsnapshot/rsync buffer overflow
- malloc errors? out of memory with many files on HP-UX
- [RFC][patch] dynamic rolling block and sum sizes II