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:57:43 +0000 (08:57 -0800)
commit2517f5440d69169ad3000316e71dce85eb347b1b
tree09ce1c0c4d1960a038e22f2eaf8224dd3ef39873
parentf2522e3f53e371735d226ad792041d39e6bd8f55
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