Fix LogCatcher accepted/tizen/unified/20190215.055035 submit/submit/tizen/20190214.065356/20190214.070335 submit/tizen/20190214.065356
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 28 Nov 2018 11:13:19 +0000 (20:13 +0900)
committer장상윤/Tizen Platform Lab(SR)/Engineer/삼성전자 <jeremy.jang@samsung.com>
Thu, 29 Nov 2018 02:44:27 +0000 (11:44 +0900)
Fix format security error.

Change-Id: Ia52ac22072436d27978bf4ed4b0cf4ed61f1e513
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/utils/logging.h

index 491521c..23683bc 100644 (file)
@@ -70,7 +70,7 @@ class LogCatcher {
     : level_(level), tag_(tag) { }
 
   void operator&(const StringStream<char>& str) const {
-    dlog_print(LogLevelToPriority(level_), tag_.c_str(),
+    dlog_print(LogLevelToPriority(level_), tag_.c_str(), "%s",
         Escape(str.str()).c_str());
   }