]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Use get_dirent_ea_size() also for BOTH_DIRECTORY_INFO
authorVolker Lendecke <vl@samba.org>
Mon, 2 Jan 2023 15:21:50 +0000 (16:21 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 4 Jan 2023 09:48:37 +0000 (09:48 +0000)
commit9636b40b05b90e5317bb1ef29985ffb91bccf482
tree3572b50f373da01f131b1c472497a339ba3c1f12
parentdc98e564604f4b61fbc6bd41ba8c05ead30e7aa2
smbd: Use get_dirent_ea_size() also for BOTH_DIRECTORY_INFO

This is a bit more involved as readdir_attr_data needs to be looked
at. The meaning of this if-statements should be the same though,
readdir_attr_data can only be non-NULL if we don't have a reparse
point around. See the beginning of smbd_marshall_dir_entry().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jan  4 09:48:37 UTC 2023 on sn-devel-184
source3/smbd/smb2_trans2.c