From: Sangyoon Jang Date: Wed, 28 Nov 2018 11:13:19 +0000 (+0900) Subject: Fix LogCatcher X-Git-Tag: submit/submit/tizen/20190214.065356/20190214.070335^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f25beaa71c7252caa73e7ccc28f8c847e176cec2;p=platform%2Fcore%2Fapi%2Fcapability-manager.git Fix LogCatcher Fix format security error. Change-Id: Ia52ac22072436d27978bf4ed4b0cf4ed61f1e513 Signed-off-by: Sangyoon Jang --- diff --git a/src/utils/logging.h b/src/utils/logging.h index 491521c..23683bc 100644 --- a/src/utils/logging.h +++ b/src/utils/logging.h @@ -70,7 +70,7 @@ class LogCatcher { : level_(level), tag_(tag) { } void operator&(const StringStream& str) const { - dlog_print(LogLevelToPriority(level_), tag_.c_str(), + dlog_print(LogLevelToPriority(level_), tag_.c_str(), "%s", Escape(str.str()).c_str()); }