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

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

wayned at changed:

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

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