mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
smbd: zero intialize SMB_STRUCT_STAT in vfswrap_readdir()
Avoid returning an uninitialized st.cached_dos_attributes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15375 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b4af281b2d
commit
0391120079
@ -1 +0,0 @@
|
||||
^samba3.blackbox.test_symlink_dosmode.symlink_dosmode\(fileserver\)
|
@ -603,7 +603,7 @@ static struct dirent *vfswrap_readdir(vfs_handle_struct *handle,
|
||||
struct dirent *result;
|
||||
bool fake_ctime = lp_fake_directory_create_times(SNUM(handle->conn));
|
||||
int flags = AT_SYMLINK_NOFOLLOW;
|
||||
SMB_STRUCT_STAT st;
|
||||
SMB_STRUCT_STAT st = {0};
|
||||
int ret;
|
||||
|
||||
START_PROFILE(syscall_readdir);
|
||||
|
Loading…
Reference in New Issue
Block a user