]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10329 slapo-pcache: clear out already freed op req DN
authorAndrew Elble <aweits@rit.edu>
Mon, 21 Apr 2025 14:39:20 +0000 (10:39 -0400)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Nov 2025 18:36:40 +0000 (18:36 +0000)
servers/slapd/overlays/pcache.c

index 1810f29d88d560e501b33151b448f3a978619b68..e12192b27c7af2c5a0bd1ee60adb7bd4fa9aee01 100644 (file)
@@ -900,6 +900,8 @@ merge_entry(
                rc = 1;
        }
 
+       BER_BVZERO(&op->o_req_dn);
+       BER_BVZERO(&op->o_req_ndn);
        return rc;
 }