From: Rafal Walczyna Date: Mon, 28 May 2018 08:00:25 +0000 (+0200) Subject: [filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE X-Git-Tag: submit/tizen/20180605.045703~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8b271d814a051787901460071bede284b87289b;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE [verification] build successful Change-Id: I93a7f187810993a7d0bfb6ed0a1ece0ff2b9ed53 Signed-off-by: Rafal Walczyna --- diff --git a/src/filesystem/filesystem_utils.cc b/src/filesystem/filesystem_utils.cc index f56cab79..64fa2066 100644 --- a/src/filesystem/filesystem_utils.cc +++ b/src/filesystem/filesystem_utils.cc @@ -31,6 +31,7 @@ namespace FilesystemUtils { using namespace std::string_literals; using namespace common; using common::tools::ReportError; +using common::tools::GetErrorString; void Mkdir(const std::string& path) { ScopeLogger("%s", path.c_str()); @@ -192,7 +193,7 @@ void ListDirectory(const std::string& path, std::function dir_ptr(d, [](DIR* d) { @@ -211,7 +212,7 @@ void ListDirectory(const std::string& path, std::function