[tpop3d-discuss] Memory leak?

Marc Lewis marc at blarg.net
Thu, 9 May 2002 15:07:10 -0700


On Thu, May 09, 2002 at 09:14:03PM +0100, Chris Lightfoot wrote:
> On Thu, May 09, 2002 at 12:08:41PM -0700, Marc Lewis wrote:
> > On Thu, May 09, 2002 at 11:20:45AM +0100, Chris Lightfoot wrote:
>     [...]
> > > Cheers. I'll see if I can reproduce anything with my test
> > > OpenLDAP installation.
> > 
> > I'm very interested to hear your results.  
> 
> OK, I've discovered a few SNAFUs; the following patch
> ought to fix them:
[snip]

Well, I applied the patch, started up my expect script, after 113
successful authentications (no failures), the program died:

auth_ldap_new_user_pass: ldap_search_s: Can't contact LDAP server
tpop3d: getentry.c:46: ldap_next_entry: Assertion `entry != ((void *)0)'
failed.quit: signal 6 post_fork = 0
Aborted

 - Marc

-- 
Marc Lewis
Network Administrator
Blarg! Online Services, Inc.
http://www.blarg.net/~marc