diff --git a/src/invoker/invoker.c b/src/invoker/invoker.c index f3aa43e..bddada1 100644 --- a/src/invoker/invoker.c +++ b/src/invoker/invoker.c @@ -495,6 +495,7 @@ static int wait_for_launched_process_to_exit(int socket_fd, bool wait_term) // Wait for launched process to exit if (wait_term) { + // coverity[tainted_string_return_content] g_invoked_pid = invoker_recv_pid(socket_fd); debug("Booster's pid is %d \n ", g_invoked_pid); diff --git a/src/launcherlib/socketmanager.cpp b/src/launcherlib/socketmanager.cpp index 242d176..bac29e0 100644 --- a/src/launcherlib/socketmanager.cpp +++ b/src/launcherlib/socketmanager.cpp @@ -51,6 +51,7 @@ void SocketManager::initSocket(const string & socketId) stat(socketId.c_str(), &sb); if (S_ISSOCK(sb.st_mode)) { + // coverity[toctou] if (unlink(socketId.c_str()) == -1) { std::string msg("SocketManager: Failed to unlink existing socket file '");