From: sajal.j Date: Wed, 22 Jun 2016 06:08:32 +0000 (+0530) Subject: Fix for svace X-Git-Tag: accepted/tizen/mobile/20160623.125511^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F75901%2F1;p=platform%2Fcore%2Faccount%2Ffido-client.git Fix for svace Signed-off-by: sajal.j Change-Id: I846f0cf5cfb8755836521862187f83da8a907dee --- diff --git a/server/fido_asm_plugin_manager.c b/server/fido_asm_plugin_manager.c index d8e2e58..7b2255b 100644 --- a/server/fido_asm_plugin_manager.c +++ b/server/fido_asm_plugin_manager.c @@ -292,6 +292,9 @@ _asm_plugin_mgr_discover_all(_asm_plugin_discover_response_cb cb, void *user_dat cb_data->user_data = user_data; + if(cb_data->asm_proxy_list_iter == NULL) + return FIDO_ERROR_NOT_SUPPORTED; + _fido_asm_proxy_t *asm_proxy = (_fido_asm_proxy_t*)(cb_data->asm_proxy_list_iter->data); return _asm_ipc_send(asm_proxy->asm_id, _GET_INFO_ASM_REQUEST_JSON, __discover_cb_internal, cb_data); diff --git a/server/fido_uaf_policy_checker.c b/server/fido_uaf_policy_checker.c index 7d1c3f6..efd57e5 100644 --- a/server/fido_uaf_policy_checker.c +++ b/server/fido_uaf_policy_checker.c @@ -50,7 +50,7 @@ _int_cmp(gconstpointer a, gconstpointer b) bool _policy_checker_is_matched(_match_criteria_t *match_criteria, fido_authenticator_s *auth_info) { - _INFO("_policy_checker_is_matched"); + _INFO("_policy_checker_is_matched::start"); /* -1 means the int value is not present, so we should ignore that. */ @@ -91,7 +91,7 @@ _policy_checker_is_matched(_match_criteria_t *match_criteria, fido_authenticator SAFE_DELETE(auth_aaid); } - _INFO("keyid matching"); + _INFO("keyid matching start"); /* 3. If any Key ID is mentioned in match_criteria, then atleast one Key ID should match */ GList *key_id_list = match_criteria->key_id_list;