smbd: check for absolute paths in full_path_from_dirfsp_atname()
commitc3fb27d92b82241183ae811e5ee7ca90e53b7284
authorRalph Boehme <slow@samba.org>
Mon, 14 Dec 2020 14:53:11 +0000 (14 15:53 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 17 Dec 2020 18:56:29 +0000 (17 18:56 +0000)
treed6f1f2485fc8cfab72b56f3e21b8fda7baae9e4b
parent71a614861a50a7b8cfb568eca092f86b982274f9
smbd: check for absolute paths in full_path_from_dirfsp_atname()

If the "atname" is an absolute path we can ignore the dirfsp and just return a
copy of the atname.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c