https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • f7888739 by Ondřej Kuzník at 2021-03-18T15:34:26+00:00 ITS#9444 Pass original message when chain-return-error is set
• 0c8afb03 by Ondřej Kuzník at 2021-03-18T15:34:26+00:00 ITS#9444 Manage sr_ref/sr_matched flags accordingly
send_ldap_response() clears them immediately even if we never attached the data to be freed, so when we reinstate them, the flags are gone and the next send_ldap_response() doesn't consider freeing them.