Fix integer overflow 83/224183/2 accepted/tizen/unified/20200212.125850 submit/tizen/20200210.104450
authorCheoleun Moon <chleun.moon@samsung.com>
Fri, 7 Feb 2020 03:34:16 +0000 (12:34 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Fri, 7 Feb 2020 04:14:24 +0000 (13:14 +0900)
Change-Id: Id6b8cd585e71688258de35837322c7c9d289846e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
sources/libraries/Common/common_eap_connect.c

index 5645acb..7aa2f93 100755 (executable)
@@ -1256,7 +1256,7 @@ static gboolean __cert_extract_files(const char *cert_alias,
        int ret;
        int validity;
        size_t cert_counts = 0;
-       int cert_index;
+       size_t cert_index;
        gchar *ca_cert_path = NULL;
        gchar *user_cert_path = NULL;
        gchar *privatekey_path = NULL;
@@ -2100,6 +2100,7 @@ eap_connect_data_t *create_eap_view(Evas_Object *layout_main, Evas_Object *win,
                        "virtualkeypad,state,off", _eap_popup_keypad_off_cb,
                        eap_data);
 
+       g_free(popup_btn_data.sub_title_txt);
        __COMMON_FUNC_EXIT__;
        return eap_data;
 }