smbd: zero intialize SMB_STRUCT_STAT in vfswrap_readdir()
authorRalph Boehme <slow@samba.org>
Tue, 23 May 2023 15:23:28 +0000 (17:23 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 24 May 2023 20:41:38 +0000 (20:41 +0000)
commit0391120079b032077c3914c10189b85e61dc8498
tree69e9c24e437cfd98122b5a3409ae1a92e4e8db53
parentb4af281b2d7bfddbdb7289dadbed9db623bf0e84
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>
selftest/knownfail.d/samba3.blackbox.test_symlink_dosmode [deleted file]
source3/modules/vfs_default.c