Skip Menu |
 

From: raeburn@mit.edu
Subject: SVN Commit
If a locate plugin (e.g., the Python sample plugin and script, when
given realm BOBO.MIT.EDU) returns no error but no addresses, the library
won't report an error, but will try to make contact, and eventually
crash with a null pointer dereference.

Fix: If a plugin returns a value other than PLUGIN_NO_HANDLE, including
success, continue into the code that checks for an empty address list.


Commit By: raeburn



Revision: 19399
Changed Files:
U trunk/src/lib/krb5/os/locate_kdc.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r19399 from trunk

r19399@cathode-dark-space: raeburn | 2007-04-05 16:22:28 -0400
ticket: new
subject: service location plugin returning no addresses handled incorrectly

If a locate plugin (e.g., the Python sample plugin and script, when
given realm BOBO.MIT.EDU) returns no error but no addresses, the library
won't report an error, but will try to make contact, and eventually
crash with a null pointer dereference.

Fix: If a plugin returns a value other than PLUGIN_NO_HANDLE, including
success, continue into the code that checks for an empty address list.




Commit By: tlyu



Revision: 19416
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/lib/krb5/os/locate_kdc.c