1From 15f51edf989cc47588c3d8635a62c255cdeb0072 Mon Sep 17 00:00:00 2001 2From: Daniel Cheng <dcheng@chromium.org> 3Date: Wed, 6 Oct 2021 03:23:23 -0700 4Subject: [PATCH] Turn on hardened mode 5 6Enable various hardening checks in absl which would otherwise be UB. 7--- 8 third_party/abseil-cpp/absl/base/options.h | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11diff --git a/third_party/abseil-cpp/absl/base/options.h b/third_party/abseil-cpp/absl/base/options.h 12index 71bafb39f2124..212891c5067f1 100644 13--- a/third_party/abseil-cpp/absl/base/options.h 14+++ b/third_party/abseil-cpp/absl/base/options.h 15@@ -179,6 +179,6 @@ 16 // checks enabled by this option may abort the program in a different way and 17 // log additional information when `NDEBUG` is not defined. 18 19-#define ABSL_OPTION_HARDENED 0 20+#define ABSL_OPTION_HARDENED 1 21 22 #endif // ABSL_BASE_OPTIONS_H_ 23-- 242.49.0.rc0.332.g42c0ae87b1-goog 25