diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2007-04-05 20:22:28 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2007-04-05 20:22:28 +0000 |
| commit | e8c89c41b5265cde00427299245b20e7c89b6722 (patch) | |
| tree | 5c3db61e6bd3d4dd8d84c608c41451d6f9f8faba /src/plugins/locate/python | |
| parent | cd1c8b8a1a9bfd77eae9fbf29bd3273695019125 (diff) | |
| download | krb5-e8c89c41b5265cde00427299245b20e7c89b6722.tar.gz krb5-e8c89c41b5265cde00427299245b20e7c89b6722.tar.xz krb5-e8c89c41b5265cde00427299245b20e7c89b6722.zip | |
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.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19399 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/locate/python')
0 files changed, 0 insertions, 0 deletions
