buffer overflow in receive_file_entry

Nico Sabbi nsabbi at tiscali.it
Thu Oct 21 14:43:48 GMT 2004

I have two identical servers running Mandrake 10.0 + many bugfixes.
I installed the plain rsync 2.6.3 (and after that the last cvs checkout, 
but with identical results)
and configured rsync as xinetd daemon on one of the two, rsync as client 
on the other.

This is the result:

[root at server rsync-2.4.4]# rsync -avz  server::sitis/mydir/
receiving file list ... overflow: flags=0xb6ee l1=21 l2=1156479086 
ERROR: buffer overflow in receive_file_entry
rsync error: error allocating core memory buffers (code 22) at util.c(126)

The configuration on the server is:

hosts allow =
use chroot = yes
    path = /home/myparentdir/
    comment = "test"

and xinetd.d/rsync contains:
service rsync
        disable = no
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/bin/rsync
        server_args     = --daemon -c /etc/rsyncd.conf
        log_on_failure  += USERID

I've been running rsyncd on many other servers in the past without 
problems (apart
it being a real cpu and memory hog), so I can't explain why I'm 
experiencing these
errors now.

Other software installed:

Name        : glibc-devel                  Relocations: (not relocatable)
Version     : 2.3.3                             Vendor: Mandrakesoft
Release     : 21mdk                         Build Date: lun 20 set 2004 
15:56:12 CEST

Name        : popt-devel                   Relocations: (not relocatable)
Version     : 1.8.2                             Vendor: Mandrakesoft
Release     : 15mdk                         Build Date: gio 05 ago 2004 
10:01:50 CEST

Name        : openssl                      Relocations: (not relocatable)
Version     : 0.9.7c                            Vendor: MandrakeSoft
Release     : 2mdk                          Build Date: dom 11 gen 2004 
17:01:27 CET

[root at server rsync-2.4.4]# ldd -d -r /usr/bin/rsync
        libresolv.so.2 => /lib/libresolv.so.2 (0x40020000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40031000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Can anyone help me, please ?


More information about the rsync mailing list