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

Re: (ITS#4665) slapo-ppolicy is leaking



ando@sys-net.it wrote:
> slapo-ppolicy seems to leak in many circumstances, subtle or not.
>
> 1) when creating the response control value
> 2) when adding the controls to the response (here, moreover, it would at least
> ignore, and possibly leak, any existing controls array)
> 3) when pre-pending the old password value during password change operations,
> because the caller frees its original modifications list rather than the
> contents of op->orm_modlist.
> 4) when parsing the history values
>   
There's also a leak
5) when parsing the configuration, because the non-normalized DN is not 
freed.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------