Improved the unsafe_symlink() code to not get fooled by extra '/' chars
authorWayne Davison <wayned@samba.org>
Tue, 3 Mar 2009 16:43:17 +0000 (08:43 -0800)
committerWayne Davison <wayned@samba.org>
Tue, 3 Mar 2009 16:46:57 +0000 (08:46 -0800)
commitb4d30300b9cf6cdb77a95bd2018c7152f06ec94b
tree7c78c775e40a91b38488e758bef1abc13a87a089
parente6f3a33c5e932dc82d487b55a3b12ed7aa5a90f5
Improved the unsafe_symlink() code to not get fooled by extra '/' chars
in the symlink's path.  Added test cases.  This fixes bug #6151.
testsuite/unsafe-byname.test
util.c