Roland C. Dowdeswell
13a6ac59ad
Fix memory leak in hx509_context_init().
...
OpenSSL_add_all_algorithms() should only be run once per application
or it will cause data structures to expand. It's not a classic
memory leak as all of the memory will be free(3)d when EVP_cleanup()
is called but as we are a library we cannot call this. We provide
a short term fix here which is using heim_base_once_f() to ensure
that we only call it once.
But the long term fix should be to stop using OpenSSL_add_all_algorithms()
entirely because it both has side effects outside our library and
the caller may destroy our OpenSSL global variables by calling
EVP_cleanup() on his own. It is suboptimal to have potential
interactions between our library and other code in this way.
2012-07-17 19:38:46 +01:00
..
2010-08-08 15:51:33 -07:00
2007-06-28 08:50:00 +00:00
2012-02-20 19:45:41 +00:00
2012-07-17 19:38:46 +01:00
2008-09-13 08:53:55 +00:00
2011-05-21 11:57:31 -07:00
2012-02-20 19:45:41 +00:00
2011-05-21 11:57:31 -07:00
2006-04-18 13:05:21 +00:00
2012-06-08 18:08:23 +02:00
2008-09-13 09:21:03 +00:00
2009-02-22 23:28:18 +00:00
2012-02-20 19:45:41 +00:00
2011-05-21 11:57:31 -07:00
2010-10-03 16:32:01 -07:00
2011-01-12 17:45:17 +01:00
2011-09-25 19:00:01 +02:00
2012-04-05 20:20:19 +01:00
2010-08-20 13:06:54 -04:00
2012-04-05 20:20:19 +01:00
2012-02-20 19:45:41 +00:00
2012-02-20 19:45:41 +00:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2012-02-20 19:45:41 +00:00
2012-02-20 19:45:41 +00:00
2012-02-20 19:45:41 +00:00
2011-05-17 12:02:12 -04:00
2012-02-20 19:45:41 +00:00
2012-06-20 19:32:08 -05:00
2011-05-21 11:57:31 -07:00
2010-11-24 15:33:27 -05:00
2006-12-30 12:40:43 +00:00
2009-11-22 13:51:28 -08:00
2009-11-22 13:53:19 -08:00
2006-04-01 09:46:57 +00:00
2009-11-22 13:51:20 -08:00
2011-05-21 11:57:31 -07:00
2010-08-08 15:51:33 -07:00
2011-02-23 19:47:28 -08:00
2011-05-21 11:57:31 -07:00
2009-02-22 23:28:18 +00:00
2011-11-02 21:42:08 -05:00
2011-05-21 11:57:31 -07:00
2011-04-29 20:25:05 -07:00
2012-02-20 19:45:41 +00:00
2008-09-13 08:53:55 +00:00
2011-10-31 21:27:51 -07:00
2009-08-14 16:24:35 +02:00
2010-08-10 10:19:16 -07:00
2009-05-25 23:42:31 +00:00
2011-05-21 11:57:31 -07:00
2008-09-13 08:53:55 +00:00
2011-05-21 11:57:31 -07:00
2011-05-07 17:22:24 -07:00
2008-09-13 08:53:55 +00:00
2008-09-13 08:53:55 +00:00
2011-05-07 17:22:37 -07:00
2008-09-13 08:53:55 +00:00
2008-11-23 22:05:26 +00:00
2008-09-13 08:53:55 +00:00
2011-05-21 11:57:31 -07:00
2008-09-13 08:53:55 +00:00
2009-09-21 19:15:00 -07:00
2008-01-14 20:53:56 +00:00
2010-09-30 18:36:58 -07:00
2008-01-14 20:53:56 +00:00
2006-11-27 12:09:38 +00:00
2009-03-26 23:12:02 +00:00
2009-03-26 23:11:48 +00:00
2006-11-27 12:09:38 +00:00
2006-11-27 12:09:38 +00:00
2006-11-27 12:09:38 +00:00
2006-11-27 12:09:38 +00:00
2007-05-30 23:19:01 +00:00
2011-02-23 19:47:28 -08:00