]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: adjust allocation size check across handles in smbd_do_qfilepathinfo()
authorRalph Boehme <slow@samba.org>
Tue, 17 Nov 2020 06:59:13 +0000 (07:59 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:31 +0000 (09:08 +0000)
commit435c0f88286cffafffd77469b29adcd06abea4e4
tree9b33d4ddc0636f842b793f6ceeefeaf66342fdce
parent2aac91003ee2212eb25feab6f14d44c7f2759586
smbd: adjust allocation size check across handles in smbd_do_qfilepathinfo()

Check all open files if either we don't have an fsp or if the fsp is not a full
FSA fsp, ie not one which was created by SMB_VFS_CREATE_FILE() but by
openat_pathref_fsp().

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