Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: webrtc/rtc_base/ipaddress_unittest.cc

Issue 3009123002: Move UBSan warnings from a blacklist to the source (Closed)
Patch Set: Address review comments Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_processing/aecm/aecm_core_c.cc ('k') | webrtc/rtc_base/random.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/ipaddress_unittest.cc
diff --git a/webrtc/rtc_base/ipaddress_unittest.cc b/webrtc/rtc_base/ipaddress_unittest.cc
index 3389fef0821d1586c70b6766e16a2f019b4c875d..61a067f28306b696c98f07d056134eb34fd87b50 100644
--- a/webrtc/rtc_base/ipaddress_unittest.cc
+++ b/webrtc/rtc_base/ipaddress_unittest.cc
@@ -672,13 +672,7 @@ TEST(IPAddressTest, TestAsIPv6Address) {
EXPECT_EQ(addr, addr2);
}
-// Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5491
-#ifdef UNDEFINED_SANITIZER
-#define MAYBE_TestCountIPMaskBits DISABLED_TestCountIPMaskBits
-#else
-#define MAYBE_TestCountIPMaskBits TestCountIPMaskBits
-#endif
-TEST(IPAddressTest, MAYBE_TestCountIPMaskBits) {
+TEST(IPAddressTest, TestCountIPMaskBits) {
IPAddress mask;
// IPv4 on byte boundaries
EXPECT_PRED2(CheckMaskCount, "255.255.255.255", 32);
« no previous file with comments | « webrtc/modules/audio_processing/aecm/aecm_core_c.cc ('k') | webrtc/rtc_base/random.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698