From: Seonah Moon Date: Tue, 3 Apr 2018 06:17:28 +0000 (+0900) Subject: [WGID-89732] Fix dereference issue X-Git-Tag: accepted/tizen/unified/20180406.062034^0 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fnative%2Fug-mobile-ap.git;a=commitdiff_plain;h=6a0983a1b09b6838eb434d2e90d8b4eccef6f662 [WGID-89732] Fix dereference issue Change-Id: If05652fbc57ffb85fd5a0ff6407e18dfdc3064b2 --- diff --git a/src/mh_view_main.c b/src/mh_view_main.c index fcddfaf..ecc39e5 100755 --- a/src/mh_view_main.c +++ b/src/mh_view_main.c @@ -1138,7 +1138,7 @@ static char *__get_help_label(void *data, Evas_Object *obj, const char *part) passphrase, security_type, STR_ENTER_THE_PASSWORD_ON_THE_OTHER_DEVICE, - hidden[0] != '\0' ? "
" : "", + hidden && hidden[0] != '\0' ? "
" : "", hidden); } else { snprintf(buf, MH_LABEL_LENGTH_MAX, @@ -1148,7 +1148,7 @@ static char *__get_help_label(void *data, Evas_Object *obj, const char *part) "", STR_DEV_NAME, device_name, - hidden[0] != '\0' ? "
" : "", + hidden && hidden[0] != '\0' ? "
" : "", hidden); }