From: Justin Anderson Date: Tue, 7 Oct 2008 21:55:01 +0000 (+0000) Subject: KerberosAgent fails to handle multiple clients because it attempts to message freed... X-Git-Tag: krb5-1.7-alpha1~334 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c2aa3a8aa687aa3aae3ab609beea14fe957bc92;p=krb5.git 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 --- 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:)