(plugin_get_hosts): be more paranoid and pass in a NULLed plugin list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19198 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -521,7 +521,7 @@ plugin_get_hosts(krb5_context context,
|
|||||||
struct krb5_krbhst_data *kd,
|
struct krb5_krbhst_data *kd,
|
||||||
enum locate_service_type type)
|
enum locate_service_type type)
|
||||||
{
|
{
|
||||||
struct krb5_plugin *list, *e;
|
struct krb5_plugin *list = NULL, *e;
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
|
|
||||||
ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, "resolve", &list);
|
ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, "resolve", &list);
|
||||||
|
Reference in New Issue
Block a user