]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2023-0614 s4-acl: Make some parameters const
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 26 Jan 2023 19:00:32 +0000 (08:00 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Apr 2023 02:10:35 +0000 (02:10 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15270

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/acl_util.c

index 4b90207edc32b7af647f1fb0d21efd7ab8806c2e..352997ef643ae41dfd6766fc22a30a0584cc4099 100644 (file)
@@ -97,8 +97,8 @@ int dsdb_module_check_access_on_dn(struct ldb_module *module,
 
 int acl_check_access_on_attribute_implicit_owner(struct ldb_module *module,
                                                 TALLOC_CTX *mem_ctx,
-                                                struct security_descriptor *sd,
-                                                struct dom_sid *rp_sid,
+                                                const struct security_descriptor *sd,
+                                                const struct dom_sid *rp_sid,
                                                 uint32_t access_mask,
                                                 const struct dsdb_attribute *attr,
                                                 const struct dsdb_class *objectclass,