make --safe-links stricter
authorAndrew Tridgell <andrew@tridgell.net>
Sat, 23 Nov 2024 04:15:53 +0000 (15:15 +1100)
committerAndrew Tridgell <andrew@tridgell.net>
Tue, 14 Jan 2025 18:30:32 +0000 (05:30 +1100)
commit407c71c7ce562137230e8ba19149c81ccc47c387
treeac5a71c4aee239ef682bbc084b5ae7d5b50ef6c7
parent344327385fa47fa5bb67a32c237735e6240cfb93
make --safe-links stricter

when --safe-links is used also reject links where a '../' component is
included in the destination as other than the leading part of the
filename
testsuite/safe-links.test [new file with mode: 0644]
testsuite/unsafe-byname.test
util1.c