From: Semun Lee Date: Tue, 20 Mar 2018 02:07:48 +0000 (+0900) Subject: Initialize string buffer X-Git-Tag: submit/tizen/20180320.042337~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F173167%2F1;p=platform%2Fcore%2Fapi%2Fapp-manager.git Initialize string buffer Change-Id: I3dc17c434d18fbd75524bf956a8000f75e57ee7d Signed-off-by: Semun Lee --- diff --git a/src/app_info.c b/src/app_info.c index e3da11b..d101c22 100644 --- a/src/app_info.c +++ b/src/app_info.c @@ -271,7 +271,7 @@ static int _check_privilege(char *privilege) int fd; int ret; - char client[SMACK_LABEL_LEN + 1] = ""; + char client[SMACK_LABEL_LEN + 1] = {0,}; char uid[10] = {0,}; char *client_session = "";