diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake index b52a36a..4c92506 100644 --- a/cmake/abseil-cpp.cmake +++ b/cmake/abseil-cpp.cmake @@ -14,7 +14,7 @@ FetchContent_Declare(absl GIT_REPOSITORY https://github.com/abseil/abseil-cpp - GIT_TAG ab2e2c4f6062999afaf960759dfccb77f350c702 # 2022-09-15 + GIT_TAG efeb95f4491740817a1c37345b66d26bce722ae4 # 2023-03-20 ) set(ABSL_CXX_STANDARD ${SAPI_CXX_STANDARD} CACHE STRING "" FORCE) set(ABSL_PROPAGATE_CXX_STD ON CACHE BOOL "" FORCE) diff --git a/sandboxed_api/bazel/sapi_deps.bzl b/sandboxed_api/bazel/sapi_deps.bzl index 646eba6..502abcf 100644 --- a/sandboxed_api/bazel/sapi_deps.bzl +++ b/sandboxed_api/bazel/sapi_deps.bzl @@ -37,9 +37,9 @@ def sapi_deps(): maybe( http_archive, name = "com_google_absl", - sha256 = "ef76248ccea6dd05762cfdc9a5b234222e1f3b38d31325e35d4172559eac7935", # 2022-09-15 - strip_prefix = "abseil-cpp-ab2e2c4f6062999afaf960759dfccb77f350c702", - urls = ["https://github.com/abseil/abseil-cpp/archive/ab2e2c4f6062999afaf960759dfccb77f350c702.zip"], + sha256 = "adca6c26a90d6791e36bfe5dbc8573182c5fa0726da29901a6b3949d65116e25", # 2023-03-20 + strip_prefix = "abseil-cpp-efeb95f4491740817a1c37345b66d26bce722ae4", + urls = ["https://github.com/abseil/abseil-cpp/archive/efeb95f4491740817a1c37345b66d26bce722ae4.zip"], ) maybe( http_archive, diff --git a/sandboxed_api/sandbox2/mounts.cc b/sandboxed_api/sandbox2/mounts.cc index 9ed91ec..5b3d6ca 100644 --- a/sandboxed_api/sandbox2/mounts.cc +++ b/sandboxed_api/sandbox2/mounts.cc @@ -64,7 +64,6 @@ absl::string_view GetOutsidePath(const MountTree::Node& node) { return node.dir_node().outside(); default: SAPI_RAW_LOG(FATAL, "Invalid node type"); - return ""; // NOT REACHED } } diff --git a/sandboxed_api/util/raw_logging.h b/sandboxed_api/util/raw_logging.h index 331307a..012c761 100644 --- a/sandboxed_api/util/raw_logging.h +++ b/sandboxed_api/util/raw_logging.h @@ -56,6 +56,9 @@ ::sapi::raw_logging_internal::RawLog(SAPI_RAW_LOGGING_INTERNAL_##severity, \ absl_raw_logging_internal_basename, \ __LINE__, __VA_ARGS__); \ + if (SAPI_RAW_LOGGING_INTERNAL_##severity == ::absl::LogSeverity::kFatal) { \ + ABSL_UNREACHABLE(); \ + } \ } while (0) #endif