This leak occurs when we use the new regex based identity mapping to lookup the user bind dn based on the given user and user realm. There is a pblock allocated but not freed.
Created attachment 313967 [details] diffs
This leak can be triggered by an anonymous user doing a sasl bind. This bug can be mitigated by disabling the sasl mapping, which means sasl binds won't work.
Created attachment 314148 [details] cvs commit log - DS8.0 Reviewed by: nkinder (Thanks!) Fix Description: This leak occurs when we use the new regex based identity mapping to lookup the user bind dn based on the given user and user realm. There is a pblock allocated but not freed. Platforms tested: RHEL5, Fedora 8 Flag Day: no Doc impact: no QA impact: should be covered by regular nightly and manual testing New Tests integrated into TET: none
How can QE verify this? What to look for in the valgrind output?
(In reply to comment #5) > How can QE verify this? What to look for in the valgrind output? Look for a memory leak in ids_sasl_user_search()
verified 8.0 RHEL4-32, RHEL4-64, RHEL5-32, RHEL5-64
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0602.html
Created attachment 315148 [details] cvs commit log - HEAD