Memory leak issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Openssl Users,

Currently we are facing a memory leak issue in the following scenario.

We are allocating dynamic memory to a appctx and we are setting this appctx
to the session using the function
SSL_SESSION_set_app_data().

My understanding is that, this appctx will be updated as part of ex_data
present at SSL_SESSION data structure.

As part of SSL_SESSION_free(), i see that crypto_free_ex_data() gets
called. But, we are seeing that appctx is not being free'd through openssl.

Is there any function do i need to update for free_func() to get this
appctx to be free'd?

And my understanding is if SSL Caching is present, this ex_data also gets
saved as part of SSL_SESSION data. Hence, at application we are unable to
judge when to free this appctx. Hence, we would like to get this free'd
when openssl frees its SSL Session.

Please provide me appropriate function to call/to set at/to openssl to get
this appctx free'd by openssl when SSL_Session is being freed.

Thanks in advance.

Rajeswari.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150326/e91a5716/attachment-0001.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux