Fix svace issue 86/88986/1 accepted/tizen/common/20160922.120457 accepted/tizen/ivi/20160922.082306 accepted/tizen/mobile/20160922.082219 accepted/tizen/tv/20160922.082230 accepted/tizen/wearable/20160922.082249 submit/tizen/20160922.010515
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 21 Sep 2016 09:43:58 +0000 (18:43 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 21 Sep 2016 09:45:22 +0000 (18:45 +0900)
- ID : 66675

Change-Id: Ie38d28c6a98c41a4c19ac3f84c075297b651c60f

src/manager/net_nfc_server_se.c

index 446c94d3914782abafd7e8bb8aed4a25294115f1..1c0d371083bb3c0233bd147377fe505ec9b9d145 100755 (executable)
@@ -4352,6 +4352,10 @@ static void net_nfc_server_se_deactivated_card_thread_func(gpointer user_data)
                        for (i = 0; i < g_list_length(list); i++) {
                                GList* node;
                                node = g_list_nth(list, i);
+
+                               if (node == NULL)
+                                       continue;
+
                                SECURE_MSG("[%d]th list value is %s", i, (char*)node->data);
 
                                net_nfc_server_se_convert_to_binary((uint8_t *)node->data, strlen((char *)node->data), &cmd, &size);