Files
heimdal/lib/hcrypto
Jeffrey Altman b3f29170a3 hcrypto: w32crypto crypt provider handle leak
_hc_CryptProvider() returns a global handle to a Win32 Crypt Provider.
If the global handle is NULL, then a handle is allocated.  Unfortunately,
due to a coding mistake the global handle variable, g_cryptprovider, was
never set and a new handle was allocated with each call.

Refactor the function to ensure that the global handle is the value
that is returned.  Use NULL instead of 0 for pointer assignment.

Change-Id: If1ef3aa19cbd1d51860370db24c086e86922ff0d
2014-12-24 15:49:31 -05:00
..
2010-06-03 17:20:40 -07:00
2009-11-25 02:22:31 +01:00
2009-02-22 23:30:49 +00:00
2011-05-21 11:57:31 -07:00
2008-09-13 09:21:03 +00:00
2009-08-04 20:19:44 +02:00
2008-09-13 08:53:55 +00:00
2008-09-13 09:21:03 +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-11-27 21:58:04 -08:00
2011-05-21 11:57:31 -07:00
2010-10-02 12:28:27 -07:00
2009-08-05 13:37:37 +02:00
2008-09-13 09:21:03 +00:00
2013-10-15 12:07:02 +02:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2010-10-11 20:04:11 -07:00
2009-08-14 10:13:48 +02:00
2011-05-21 11:57:31 -07:00
2013-04-29 21:59:11 -07:00
2010-09-07 23:56:40 -07:00
2009-08-05 13:48:40 +02:00
2010-09-30 18:22:00 -07:00
2010-09-30 18:22:00 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2010-09-29 23:41:15 -07:00
2008-09-13 09:21:03 +00:00
2013-10-16 23:49:32 -04:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2009-08-05 13:37:37 +02:00
2014-02-14 19:26:20 -08:00
2009-08-05 13:37:37 +02:00
2008-09-13 09:21:03 +00:00
2009-08-05 13:37:37 +02:00
2011-07-24 12:34:51 -07:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2009-08-05 13:37:37 +02:00
2010-08-20 13:09:46 -04:00
2010-06-03 16:16:48 -07:00
2011-05-21 11:57:31 -07:00
2008-09-13 09:21:03 +00:00
2009-08-05 13:37:37 +02:00
2009-08-05 13:37:37 +02:00
2008-09-13 09:21:03 +00:00
2009-11-25 02:22:31 +01:00
2010-06-01 19:18:24 -07:00
2013-10-30 22:29:19 -07:00
2011-05-21 11:57:31 -07:00
2013-04-29 12:03:42 -07:00
2010-10-02 12:28:27 -07:00
2010-10-03 17:04:48 -07:00
2010-10-03 18:13:58 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2010-09-14 10:24:43 -07:00
2011-05-21 11:57:31 -07:00
2014-02-14 19:26:20 -08:00
2014-04-25 02:42:17 +02: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
2009-08-05 13:37:37 +02:00
2012-11-17 14:14:52 -08:00
2011-05-21 11:57:31 -07:00
2008-09-13 09:21:03 +00:00
2010-11-26 09:15:23 -08:00