DO NOT REPLY [Bug 6151] --safe-links can be fooled by adding extra slashes to the path

samba-bugs at samba.org samba-bugs at samba.org
Tue Mar 3 17:06:28 GMT 2009


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


wayned at samba.org changed:

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




------- Comment #2 from wayned at samba.org  2009-03-03 11:06 CST -------
Thanks.  I've committed an improved version of the unsafe_symlinks() function
and put some extra items into the test case.

As for why the depth scanner is setting depth = 0 for any ".." in the src: 
it's being extra conservative.  ".." should never appear in the source, but if
it does, we just restart depth counting at that point.


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