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

Wayne Davison <way...@samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|buffer overflow in          |Is MAXPATHLEN set properly
                   |recv_file_entry (maxpathlen |on FreeBSD?
                   |doesn't works)              |

--- Comment #1 from Wayne Davison <way...@samba.org> 2011-03-10 22:14:24 UTC ---
MAXPATHLEN is a system-defined value of the longest path a function such as
open() can handle, so you can't just arbitrarily increase it.  If your OS
provides a MAXPATHLEN value that is smaller than what open() can handle, file a
bug with the FreeBSD folks.  If it doesn't provide any such define, rsync.h
will set it to be a conservative 1024 bytes.  If you find that FreeBSD has some
other define for this maximal value I can either get rsync.h to make use of it,
or you can get the FreeBSD folks to define MAXPATHLEN.

As for increasing the value not helping -- you must either not have defined it
right, or you must be doing a transfer where the other side doesn't have a
larger buffer.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to