RT RT/krbdev.mit.edu: Ticket #5673 NIM: resource leak in khui_action_trigger() Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
5673
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
  • windows
Version_reported
Version_Fixed
  • 1.6.3
Target_Version
  • 1.6.3
Tags
  • pullup
 

 Relationships  
Depends on:
Depended on by:
Parents:
  • 5691: (jaltman) Post KFW 3.2.1 Tracking Ticket [resolved]
Children:

Refers to:
Referred to by:
 
 Dates  
Created: Fri Aug 24 10:20:35 2007
Starts: Not set
Started: Fri Aug 24 10:20:38 2007
Last Contact: Fri Sep 28 19:36:10 2007
Due: Not set
Updated: Fri Sep 28 19:36:10 2007 by tlyu
 

 People  
Owner
 jaltman
Requestors
 jaltman@mit.edu
Cc
 
AdminCc
 
 

 More about Jeffrey Altman  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Fri Aug 24 10:20:35 2007  jaltman - Ticket created    
     
From: jaltman@mit.edu
Subject: SVN Commit

The khui_action_trigger() function in the Network Identity Manager API
creates a copy of the current user interface context (which contains
information about the credentials and identities that are currently
selected) before triggering the requested action.  Then it will use
the copy to restore the user interface context to its previous state.
A coding error results in the copy of the context to never be
released.  As a result there is a resource leak.

The attached patch fixes the leak by releasing the context once it
is no longer needed.

Commit By: jaltman



Revision: 19852
Changed Files:
U   trunk/src/windows/identity/uilib/action.c


Download (untitled) 646b
      Fri Aug 24 10:20:38 2007  jaltman - Requestor jaltman@mit.edu added    
      Fri Aug 24 10:20:38 2007  jaltman - Status changed from new to resolved    
      Fri Aug 24 10:20:39 2007  jaltman - Component windows added    
      Fri Sep 28 17:12:52 2007  jaltman - Target_Version 1.6.4 added    
      Fri Sep 28 17:12:53 2007  jaltman - Tags pullup added    
      Fri Sep 28 18:19:55 2007  tlyu - Target_Version 1.6.4 changed to 1.6.3    
      Fri Sep 28 19:36:06 2007  tlyu - Version_Fixed 1.6.3 added    
      Fri Sep 28 19:36:07 2007  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: SVN Commit

pull up r19852 from trunk

 r19852@cathode-dark-space:  jaltman | 2007-08-24 10:20:31 -0400
 ticket: new
 subject: NIM: resource leak in khui_action_trigger()
 component: windows

 The khui_action_trigger() function in the Network Identity Manager API
 creates a copy of the current user interface context (which contains
 information about the credentials and identities that are currently
 selected) before triggering the requested action.  Then it will use
 the copy to restore the user interface context to its previous state.
 A coding error results in the copy of the context to never be
 released.  As a result there is a resource leak.

 The attached patch fixes the leak by releasing the context once it
 is no longer needed.



Commit By: tlyu



Revision: 19987
Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/windows/identity/uilib/action.c


Download (untitled) 872b