From 5eabb985529c57ec734f38bd906ae2047dc55022 Mon Sep 17 00:00:00 2001 From: Cheoleun Moon Date: Fri, 7 Feb 2020 12:34:16 +0900 Subject: [PATCH] Fix integer overflow Change-Id: Id6b8cd585e71688258de35837322c7c9d289846e Signed-off-by: Cheoleun Moon --- sources/libraries/Common/common_eap_connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/libraries/Common/common_eap_connect.c b/sources/libraries/Common/common_eap_connect.c index 5645acb..7aa2f93 100755 --- a/sources/libraries/Common/common_eap_connect.c +++ b/sources/libraries/Common/common_eap_connect.c @@ -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; } -- 2.7.4