mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
CVE-2023-34968: mdssvc: add missing "kMDSStoreMetaScopes" dict key in slrpc_fetch_properties()
We were adding the value, but not the key. 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>
This commit is contained in:
parent
b09e22cfc7
commit
8c95f7ae6b
@ -743,6 +743,10 @@ static bool slrpc_fetch_properties(struct mds_ctx *mds_ctx,
|
||||
}
|
||||
|
||||
/* kMDSStoreMetaScopes array */
|
||||
result = dalloc_stradd(dict, "kMDSStoreMetaScopes");
|
||||
if (result != 0) {
|
||||
return false;
|
||||
}
|
||||
array = dalloc_zero(dict, sl_array_t);
|
||||
if (array == NULL) {
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user