smbd: Some more assert in fd_openat()
authorVolker Lendecke <vl@samba.org>
Tue, 14 Jun 2022 14:15:15 +0000 (16:15 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 25 Jul 2022 12:04:33 +0000 (12:04 +0000)
commit87f03333e8b13b1a145b8332bb93f9603c170905
tree616b94d6fd97c0d5e9aa0397b50162be1b0db961
parentf292b1ae0025af6d7432116aee3decb16a1699cf
smbd: Some more assert in fd_openat()

Before this patch we asserted that if we have a base_fsp then
smb_fname must have a stream name attached. Now we also assert that if
we don't have a base_fsp smb_fname is not a stream.

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