Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-RT-Original-Encoding: utf-8 Content-Length: 751 Hi Troy On Sat, Sep 20, 2014 at 05:22:32AM +0000, Troy Noble via RT wrote: > I wanted to report a bug we found in sdbldap.c recently. I know sdb is a > contrib module so I am not sure if it is officially supported by the > bind-bugs maintainers the original author. > > In short, several bugs could potentially be fixed by correcting a few > "ism's" related to potentially unsafe use of "free" in > contrib/sdb/ldap/ldapdb.c by adding appropriate if ( ... != NULL) checks > before things like free(conndata->index) at line 136... which is the > location that caused our particular crash, and free(threaddata->index) at > line 133, etc. Thank you for the bug report. Please can you try the attached patch and report if it fixes the crash? Mukund