tinc memoryleak ?
Guus Sliepen
guus at sliepen.eu.org
Thu Mar 27 16:40:28 CET 2003
On Wed, Mar 26, 2003 at 09:57:03AM +0100, Spijker wrote:
> As far as can see it only occurs under very heavy UDP networktraffic between
> the 3 machines I use.
I think I tracked it down to a bug in OpenSSL 0.9.7. It doesn't clean up
the EVP_CIPHER_CTX structure like it should according to the manual
page. Adding the following line after calls to EVP_EncryptFinal() and
EVP_DecryptFinal() in net_packet.c should stop the memory leak:
EVP_CIPHER_CTX_cleanup(&ctx);
Please try this and let me know if this works for you (who experience
the problem) too.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20030327/0d98e43c/attachment.pgp
More information about the Tinc
mailing list