svn rev #20000: branches/krb5-1-6/ src/windows/identity/kconfig/

tlyu@MIT.EDU tlyu at MIT.EDU
Fri Sep 28 19:38:54 EDT 2007


Commit By: tlyu
Log Message: 
ticket: 5686
version_fixed: 1.6.3

pull up r19865 from trunk

 r19865 at cathode-dark-space:  jaltman | 2007-08-24 10:47:30 -0400
 ticket: new 
 subject: NIM: khcint_remove_space() frees memory too soon
 component: windows
 
 The Network Identity Manager Configuration Provider module keeps track
 of the application and plug-in configuration settings organized into
 configuration spaces.  The state of each configuration space is
 maintained in a reference counted object.  Once all the references are
 released, the Configuration Provider will attempt to free the
 resources allocated for the object.
 
 If the configuration space was marked for deletion, then the registry
 keys associated with the object need to be deleted when the
 object is being discarded.  Due to a coding error, the memory
 allocated for the object would be freed before the associated registry
 keys were deleted.  This could result in a memory access error.
 
 The patch corrects the code in khcint_remove_space() to free the
 allocated memory after all the remaining clean-up steps have been
 performed.
 
 




Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/windows/identity/kconfig/api.c



More information about the cvs-krb5 mailing list