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

Re: (ITS#4860) Sets' enhancement

> jclarke@linagora.com a écrit :
>> Pierangelo Masarati a écrit :
>>> Should be fixed now in HEAD/re24/re23.  Please test.  p.
>> I've been testing (at last, sorry for the delay), and I've come across
>> another memory problem. Backtrace is below, and valgrind output is
>> attached.
> Got this one: it was a double-free in sets.c occuring after a
> slap_set_join() with lset or rset empty - the non empty set was
> returned, and then freed, causing a double-free error or segfault.
> The patch attached corrects this problem on RE23 and HEAD for me and
> doesn't have any side effects on our test set. However, it may not be
> the "right" way - please correct if necessary!

Thanks for spotting it - I had no time to look at your last report.  I'll
check the fix and eventually apply it.

> Your recent fixes have solved all the issues from our test cases we were
> encountering. Thank you very much for them.

Sure.  Cheers, p.

Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it