From 5c2aa3a8aa687aa3aae3ab609beea14fe957bc92 Mon Sep 17 00:00:00 2001 From: Justin Anderson Date: Tue, 7 Oct 2008 21:55:01 +0000 Subject: [PATCH] KerberosAgent fails to handle multiple clients because it attempts to message freed memory ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20839 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kim/agent/mac/KerberosAgentController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kim/agent/mac/KerberosAgentController.m b/src/kim/agent/mac/KerberosAgentController.m index b392dd40a..53b4bbd9e 100644 --- a/src/kim/agent/mac/KerberosAgentController.m +++ b/src/kim/agent/mac/KerberosAgentController.m @@ -120,6 +120,7 @@ } [autoQuitTimer invalidate]; + autoQuitTimer = nil; [KerberosAgentListener didAddClient:info error:err]; [info release]; @@ -213,6 +214,7 @@ if ([self.clients count] == 0) { // the client removes itself after select identity, // but might come back shortly afterward in need of an auth prompt + [autoQuitTimer invalidate]; autoQuitTimer = [NSTimer scheduledTimerWithTimeInterval:SECONDS_BEFORE_AUTO_QUIT_ON_NO_CLIENTS target:self selector:@selector(quitIfIdle:) -- 2.26.2