[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Tue Sep 12 17:09:01 UTC 2023
The branch, master has been updated
via 0f1443d968c smbd: make vfs_stat_fsp() a no-op on fake file-handles
from 65b2110937c auth:credentials: Check if password_obtained > obtained
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0f1443d968c85ccf4e39d602301df51d73a6d2ed
Author: Ralph Boehme <slow at samba.org>
Date: Fri Aug 4 17:19:00 2023 +0200
smbd: make vfs_stat_fsp() a no-op on fake file-handles
Signed-off-by: Ralph Boehme <slow at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Tue Sep 12 17:08:17 UTC 2023 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/vfs.c | 4 ++++
1 file changed, 4 insertions(+)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 89150b37f90..a34b9083352 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -1166,6 +1166,10 @@ NTSTATUS vfs_stat_fsp(files_struct *fsp)
int ret;
struct stat_ex saved_stat = fsp->fsp_name->st;
+ if (fsp->fake_file_handle != NULL) {
+ return NT_STATUS_OK;
+ }
+
if (fsp_get_pathref_fd(fsp) == -1) {
if (fsp->posix_flags & FSP_POSIX_FLAGS_OPEN) {
ret = SMB_VFS_LSTAT(fsp->conn, fsp->fsp_name);
--
Samba Shared Repository
More information about the samba-cvs
mailing list