| |
@@ -251,7 +251,7 @@
|
| |
slapi_pblock_get(pb, SLAPI_MODRDN_NEWSUPERIOR_SDN, &dn_newsuperiordn);
|
| |
slapi_sdn_free(&dn_newsuperiordn);
|
| |
slapi_pblock_set(pb, SLAPI_MODRDN_NEWSUPERIOR_SDN, orig_dn_newsuperiordn);
|
| |
- orig_dn_newsuperiordn = slapi_sdn_dup(orig_dn_newsuperiordn);
|
| |
+ dn_newsuperiordn = slapi_sdn_dup(orig_dn_newsuperiordn);
|
| |
/* must duplicate ec before returning it to cache,
|
| |
* which could free the entry. */
|
| |
if ((tmpentry = backentry_dup(original_entry ? original_entry : ec)) == NULL) {
|
| |
Bug Description:
If a DB Deadlock error occurs during a modrdn operation the entry cache gets updated (corrupted), but the update is not applied to the database.
Fix Description:
Looks like there was a copy & paste error, and the wrong attribute was updated during the retry of the modrdn operation.
relates: https://pagure.io/389-ds-base/issue/49624