]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2023-34968: mdssvc: cache and reuse stat info in struct sl_inode_path_map
authorRalph Boehme <slow@samba.org>
Tue, 6 Jun 2023 13:17:26 +0000 (15:17 +0200)
committerJule Anger <janger@samba.org>
Fri, 14 Jul 2023 13:16:29 +0000 (15:16 +0200)
commitb09e22cfc79845ef751acc9b5ecf479cb56b135f
treee0ad58ef9f33a6689972bae6b9b1574e60d7265d
parent843ec381de3f5ce3740679783d3b3637a7474648
CVE-2023-34968: mdssvc: cache and reuse stat info in struct sl_inode_path_map

Prepare for the "path" being a fake path and not the real server-side
path where we won't be able to vfs_stat_fsp() this fake path. Luckily we already
got stat info for the object in mds_add_result() so we can just pass stat info
from there.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15388

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_server/mdssvc/mdssvc.c
source3/rpc_server/mdssvc/mdssvc.h