]> 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:15:00 +0000 (15:15 +0200)
commit98b2a013bc723cd660978d5a1db40b987816f90e
treeb99425851ffad9b68777db4037f5b439fd0f0ff2
parent049c13245649fab412b61a5b55e5a7dea72d7c72
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