SVACE issues Fix 33/200033/1 accepted/tizen/unified/20190218.163115 submit/tizen/20190218.113403
authorsrinivasa.m <srinivasa.m@samsung.com>
Mon, 18 Feb 2019 08:14:41 +0000 (13:44 +0530)
committersrinivasa.m <srinivasa.m@samsung.com>
Mon, 18 Feb 2019 08:14:41 +0000 (13:44 +0530)
Change-Id: I9a8ef157371c7c242f2142c3e15298c9ce738038

server/fido_server.c
server/fido_uaf_policy_checker.c

index ebff8f0..d600cea 100755 (executable)
@@ -541,7 +541,7 @@ __copy_convert_uaf_trans_list(GList *uaf_tr_list)
                asm_tr->content_type = __dup_string(uaf_tr->content_type);
                if (uaf_tr->display_charac != NULL) {
                        asm_tr->display_charac = calloc(1, sizeof(_fido_asm_display_png_characteristics_descriptor_t));
-                       if(asm_tr->display_charac == NULL) {
+                       if (asm_tr->display_charac == NULL) {
                                SAFE_DELETE(asm_tr);
                                return NULL;
                        }
@@ -560,7 +560,7 @@ __copy_convert_uaf_trans_list(GList *uaf_tr_list)
                                        fido_rgb_pallette_entry_s *uaf_plte_entry = (fido_rgb_pallette_entry_s*)(uaf_plte_iter->data);
 
                                        fido_rgb_pallette_entry_s *asm_plte_entry = calloc(1, sizeof(fido_rgb_pallette_entry_s));
-                                       if(asm_plte_entry == NULL) {
+                                       if (asm_plte_entry == NULL) {
                                                SAFE_DELETE(asm_tr->display_charac);
                                                SAFE_DELETE(asm_tr);
                                                return NULL;
index ece286c..23fc84f 100755 (executable)
@@ -560,7 +560,7 @@ _policy_checker_get_matched_auth_list(_policy_t *policy, GList *auth_list)
                        for (; allowed_list_iter_next != NULL; allowed_list_iter_next = allowed_list_iter_next->next) {
 
                                _matched_auth_data_t *matched_auth_data_nxt = (_matched_auth_data_t*)allowed_list_iter_next->data;
-                               if(matched_auth_data_nxt == NULL){
+                               if (matched_auth_data_nxt == NULL) {
                                        SAFE_DELETE(matched_auth_data_new);
                                        return NULL;
                                }