From: Semun Lee Date: Tue, 20 Mar 2018 02:07:48 +0000 (+0900) Subject: Initialize string buffer X-Git-Tag: accepted/tizen/5.0/unified/20181102.013033~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad0a889ca96cd06881217f9189e739fe02b9406b;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 = "";