https://bugs.openldap.org/show_bug.cgi?id=9997

          Issue ID: 9997
           Summary: Potential memory leak in servers/slapd/syncrepl.c
           Product: OpenLDAP
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Version: Github:master
Potential memory leak in syncrepl.c line 605.Calling ldap_search_ext_s()
without calling ldap_msgfree() to free the memory will cause a memory leak.
Doc says "Note  that  res  parameter  of  ldap_search_ext_s() and
ldap_search_s() should be freed with ldap_msgfree() regardless of return value
of these functions." in
https://www.openldap.org/software/man.cgi?query=ldap_search_ext_s&apropos=0&sektion=0&manpath=OpenLDAP+2.6-Release&arch=default&format=html

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to