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
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