svn rev #19399: trunk/src/lib/krb5/os/

raeburn@MIT.EDU raeburn at MIT.EDU
Thu Apr 5 16:22:29 EDT 2007


Commit By: raeburn
Log Message: 
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.




Changed Files:
U   trunk/src/lib/krb5/os/locate_kdc.c



More information about the cvs-krb5 mailing list