DO NOT REPLY [Bug 3649] New: buffer overflow in receive_file_entry

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 31 11:32:25 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=3649

           Summary: buffer overflow in receive_file_entry
           Product: rsync
           Version: 2.6.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: sambesselink at planet.nl
         QAContact: rsync-qa at samba.org


As a gentoo user I use rsync quite a lot, and am generally happy with your
product. Since not so long I've been getting rsync errors when connecting with
a timeout of 30secs. My internet connection is quite fast, but my laptop HDD is
dead slow. I suspect the time-out was the problem, since changing it to 180s
solved my problems. But I didn't have time to find out about this solution
before today.

Normally I get errors of this kind:
dev-libs/gdome2/
dev-libs/geoip/
dev-libs/gmp/
rsync: connection unexpectedly closed (3412222 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...


>>> Starting retry 1 of 3 with rsync://81.223.20.162/gentoo-portage
>>> checking server timestamp ...

But this problems seems solved by changing my timeout settings.

Now, while I was experimenting with rsync options, trying to solve this problem
this morning I ran into some extreme rsync behaviour that might be interesting
to you developers:

Gentoo-Users: You've hit rsync1.at.gentoo.org/81.223.20.162

receiving file list ... 
overflow: flags=0x65 l1=0 l2=1308622849 lastname=media-libs/a52dec
ERROR: buffer overflow in receive_file_entry
rsync error: error allocating core memory buffers (code 22) at util.c(121)
>>> retry ...


>>> Starting retry 2 of 3 with rsync://62.197.40.130/gentoo-portage
>>> checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...


>>> Starting retry 3 of 3 with rsync://213.239.215.148/gentoo-portage
>>> checking server timestamp ...


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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