DO NOT REPLY [Bug 7057] Buffer overflow when sending a file with long name

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 26 18:02:30 MDT 2010


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


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #9 from wayned at samba.org  2010-03-26 19:02 CST -------
The latest patch should fix the bug, though it should really call closedir(d)
before returning.

I've chosen to fix the issue in a different manner that will make rsync only
output about files inside the directory that it cannot send (since the dir
itself is short enough that we can send it).  I also fixed up the output so
that it reports the real filenames (not truncated filenames) and mentions how
big the overflow actually is.

Thanks for the analysis/patch/reproducer!


-- 
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