Heath Kehoe
545b5b41ce
Fix race condition with global _gsskrb5_keytab
...
gsskrb5_acceptor_start() was making a copy of the global pointer
_gsskrb5_keytab to use later. This invites a race condition where
another thread could call gsskrb5_register_acceptor_identity()
(thus invalidating the target of the copied pointer) before it is
used by gsskrb5_acceptor_start().
So instead, clone the keytab to a new one while protected by the
mutex lock (similar to get_keytab() in acquire_cred.c).
Signed-off-by: Nicolas Williams <nico@twosigma.com >
2016-11-10 18:32:15 -06:00
..
2011-05-21 11:57:31 -07:00
2016-11-10 18:32:15 -06:00
2015-04-15 12:27:40 -05:00
2015-04-28 08:20:39 -07:00
2009-01-25 00:35:00 +00:00
2015-07-31 17:30:23 +12:00
2015-07-31 17:30:23 +12:00
2013-06-02 15:30:58 -05:00
2015-03-24 11:49:58 -05:00
2009-06-22 17:56:41 +00:00
2014-03-24 23:07:49 -05:00
2006-11-13 18:02:57 +00:00
2013-06-02 15:30:58 -05:00
2011-05-21 11:57:31 -07:00
2015-04-14 11:27:25 -05:00
2015-04-14 11:27:25 -05:00
2015-04-14 11:27:22 -05:00
2015-07-31 17:30:23 +12:00
2010-10-02 20:47:12 -07:00
2013-06-02 15:30:58 -05:00
2010-08-20 13:14:10 -04:00
2013-06-02 15:30:58 -05:00
2011-05-21 11:57:31 -07:00
2013-06-02 15:30:58 -05:00
2015-04-14 11:27:25 -05:00
2012-02-20 19:45:41 +00:00
2013-06-02 15:30:58 -05:00
2007-01-24 00:14:24 +00:00
2015-04-14 11:27:25 -05:00
2015-03-24 11:49:58 -05:00
2015-04-14 11:27:25 -05:00
2010-08-20 13:14:10 -04:00
2016-10-08 08:17:11 +02:00
2009-06-22 17:56:41 +00:00
2015-04-14 11:27:25 -05:00
2015-03-10 03:07:29 +00:00
2013-06-02 15:30:58 -05:00
2015-04-14 11:27:25 -05:00
2013-06-02 15:30:58 -05:00
2011-05-21 11:57:31 -07:00
2015-04-14 11:27:25 -05:00
2013-06-02 15:30:58 -05:00
2013-10-30 14:26:15 -05:00
2013-06-02 15:30:58 -05:00
2009-06-22 17:56:41 +00:00
2010-08-20 13:14:10 -04:00
2010-08-20 13:14:10 -04:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2013-02-10 19:02:52 -08:00
2015-03-24 11:50:01 -05:00
2011-05-21 11:57:31 -07:00
2011-07-24 16:02:22 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2009-06-22 17:56:41 +00:00
2009-06-22 17:56:41 +00:00
2009-06-22 17:56:41 +00:00
2013-06-02 15:30:58 -05:00
2013-06-02 15:30:58 -05:00
2013-06-02 15:30:58 -05:00