[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7942) memory leak in control parsing



Full_Name: Howard Chu
Version: 2.4
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (8.25.222.90)
Submitted by: hyc


A number of controls allocate additional structures in their parsing, stored in
the op->o_controls[] array. Nothing cleans these up at the end of the
operation.

Usually these don't leak because they're allocated on the thread slab, but if
the incoming request is large enough it can force them into regular malloc.

Fix coming shortly.