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

RE: Index corruption and crash in back-ldbm (ITS#2348)



Ignore that previous message. Your bug analysis and patch are exactly right.
I am committing it to both 2.1 and 2.0.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: Howard Chu [mailto:hyc@highlandsun.com]
> Sent: Wednesday, March 05, 2003 1:38 PM
> To: 'vek@pharmapartners.nl'; 'openldap-its@OpenLDAP.org'
> Subject: RE: Index corruption and crash in back-ldbm (ITS#2348)
>
>
> Thanks, your bug analysis is very helpful. The actual main
> bug in the 2.1 code is that k2 was cont_alloc'd twice, and
> should not have been. The extra cont_free should be deleted
> as well. And you're right about returning without free'ing
> all the instances. I'm working on a patch for 2.1, not sure
> if 2.0 will be patched or not.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support