ldap/servers/slapd/entry.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit cce8d346c308f0852aaf6e74775180cb7d8ccfaa
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Tue Jul 2 15:26:07 2013 -0700
Ticket #47419 - Unhashed userpassword can accidentally get removed from mods
Bug description:
Change made in commit 4305deeaa41ea8703ebb9ea6529790dd609b3060
sets LDAP_MOD_IGNORE to unhashed password in mods once it's
stashed in an entry extenstion. It could be freed any time
once pack_mods is called.
Fix description: This patch stops setting LDAP_MOD_IGNORE to
unhashed password in mods.
https://fedorahosted.org/389/ticket/47419
Reviewed by Nathan (Thank you!!)
diff --git a/ldap/servers/slapd/entry.c b/ldap/servers/slapd/entry.c
index db8d906..f730ae0 100644
--- a/ldap/servers/slapd/entry.c
+++ b/ldap/servers/slapd/entry.c
@@ -3503,7 +3503,6 @@ slapi_entry_apply_mod_extension(Slapi_Entry *e, const LDAPMod *mod,
int modcnt)
rc = 0;
break;
}
- ((LDAPMod *)mod)->mod_op = LDAP_MOD_IGNORE; /* we don't need it any
more */
}
}
bail: