From c8b271d814a051787901460071bede284b87289b Mon Sep 17 00:00:00 2001 From: Rafal Walczyna Date: Mon, 28 May 2018 10:00:25 +0200 Subject: [PATCH] [filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE [verification] build successful Change-Id: I93a7f187810993a7d0bfb6ed0a1ece0ff2b9ed53 Signed-off-by: Rafal Walczyna --- src/filesystem/filesystem_utils.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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