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

RE: ldap_sasl_interactive_bind_s leaks? (ITS#2423)



> -----Original Message-----
> From: Igor Brezac [mailto:igor@ipass.net]

> This is probably true until cyrus-sasl bug 1963 is developed.
> sasl_done() clears digest-md5 reauth buffer.  This is what causes the
> leak, the buffer is never cleared.

> True, but the current code leaks memory a fair amount.

In looking at the Cyrus digestmd5.c I see that the client only has 10 slots
in its reauth table. As such, there is no actual leak; the memory use is
definitely bounded. If you have evidence that the reauth buffer is growing
without bound, you should file a bug report with Cyrus.

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