Issue 8239 - back-meta crashes after deleting a rewrite rule
Summary: back-meta crashes after deleting a rewrite rule
Status: VERIFIED DUPLICATE of issue 8404
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: backends (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Howard Chu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 16:18 UTC by Ryan Tandy
Modified: 2021-02-03 17:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ryan Tandy 2015-09-07 16:18:19 UTC
Full_Name: Ryan Tandy
Version: master
OS: Debian
URL: 
Submission from: (NULL) (24.68.37.4)
Submitted by: ryan


Deleting rewrite rules from a back-meta target is not implemented correctly.

Deleting a single value (vs the entire attribute) isn't checked for, the entire
rewrite_info and list of saved rules is always freed.

Then meta_back_conn_destroy doesn't notice the rewrite_session has already been
cleaned up, and tries to free it again.
Comment 1 Howard Chu 2021-02-03 16:53:51 UTC
fixed by ITS#8404

*** This issue has been marked as a duplicate of issue 8404 ***