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

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

wayned at changed:

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

------- Comment #9 from wayned at  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:
------- 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