]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: On error exit in create_file_unixpath(), we can't call close_file() on uncomple...
authorJeremy Allison <jra@samba.org>
Wed, 16 Dec 2020 23:44:41 +0000 (15:44 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 17 Dec 2020 18:56:28 +0000 (18:56 +0000)
commit12dd02d884df84b9e6ea14e67c13a86482cf9cc5
tree5b2ba5951754138fd61f298ee83245516769b824
parente7f1588ee490249204fd730663d2161d6a5fa6e0
smbd: On error exit in create_file_unixpath(), we can't call close_file() on uncompleted opens.

We can't call directly into close_file(), as that cannot deal
with regular file and directory opens where fsp->fsp_flags.is_fsa
hasn't been set to true (uncompleted opens).

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