]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Tighten non_wide_link_open() for absolute root share open
authorVolker Lendecke <vl@samba.org>
Sat, 19 Oct 2024 15:29:01 +0000 (17:29 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (18:07 +0000)
commite571da800f8d371a70e89ce89d8b35ae712bb6e8
tree5f7d4fe06823265f16aa28822ca8193b32308b5b
parent88f582d3ca4b735583ee3e3faa9546756e426ba0
smbd: Tighten non_wide_link_open() for absolute root share open

Make it clear that non_widelink_open being called for absolute paths
is not done during regular operations, i.e. when we have passed our
pathnames through filename_convert_dirfsp and we work on a real
dirfsp.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c