Skip to content
Snippets Groups Projects
Commit 4dc23b01 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6074 initial patch (still not complete)

parent c9fc6b4c
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapd normalization of updated schema attributes (ITS#5540)
Fixed slapd pagedresults stacked control with overlays (ITS#6056)
Fixed slapd sockets usage on windows (ITS#6039)
Fixed slapd-bdb freeing of already freed entries (ITS#6074)
Added slapo-rwm rwm-drop-unrequested-attrs config option (ITS#6057)
Fixed slapo-rwm dn passing (ITS#6070)
Fixed slapo-rwm entry free (ITS#6058)
......
......@@ -1345,6 +1345,9 @@ bdb_cache_delete_cleanup(
{
/* Enter with ei locked */
/* already freed? */
if ( !ei->bei_parent ) return;
if ( ei->bei_e ) {
ei->bei_e->e_private = NULL;
#ifdef SLAP_ZONE_ALLOC
......@@ -1368,6 +1371,10 @@ bdb_cache_delete_internal(
int rc = 0; /* return code */
int decr_leaf = 0;
/* already freed? */
if ( !e->bei_parent )
return -1;
/* Lock the parent's kids tree */
bdb_cache_entryinfo_lock( e->bei_parent );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment