Note: Google Test filter = VectorTest.SpanCtorSizeTruncationOverflow [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VectorTest [ RUN ] VectorTest.SpanCtorSizeTruncationOverflow [POC] constructing Vector(span of 0x100000100 bytes); expect heap-buffer-overflow WRITE into a 0x100-byte buffer ================================================================= ==2397==ERROR: AddressSanitizer: bad parameters to __sanitizer_annotate_contiguous_container: beg : 0x7c868a446fc0 end : 0x7c868a4470c0 old_mid : 0x7c868a4470c0 new_mid : 0x7c878a4470c0 #0 0x5629a8396dfe in __sanitizer_annotate_contiguous_container (/chromium/chromium/src/out/asan/wtf_unittests+0x40d2dfe) (BuildId: 3799420377d31ce6) #1 0x5629a8ab2904 in blink::Vector::Vector(base::span) third_party/blink/renderer/platform/wtf/vector.h:1880:15 #2 0x5629a8ab2481 in blink::(anonymous namespace)::VectorTest_SpanCtorSizeTruncationOverflow_Test::TestBody() third_party/blink/renderer/platform/wtf/vector_test.cc:929:16 #3 0x5629acfb4bdb in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc #4 0x5629acfb7747 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2892:11 #5 0x5629acfb97c3 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:3070:30 #6 0x5629acfe8214 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:6062:44 #7 0x5629acfe6d8a in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc #8 0x5629b1be4e70 in base::TestSuite::Run() base/test/test_suite.cc:440:16 #9 0x5629b1be7091 in base::internal::Invoker, base::internal::BindState>, int ()>::RunOnce(base::internal::BindStateBase*) base/functional/bind_internal.h:740:12 #10 0x5629b1bed2ab in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback, unsigned long, int, unsigned long, bool, base::RepeatingCallback, base::OnceCallback) base/functional/callback.h:155:12 #11 0x5629b1becbcb in base::LaunchUnitTests(int, char**, base::OnceCallback, unsigned long) base/test/launcher/unit_test_launcher.cc:337:10 #12 0x5629b1be4c1a in base::RunUnitTestsUsingBaseTestSuite(int, char**) base/test/test_suite.cc:363:10 #13 0x5629a87663e7 in main third_party/blink/renderer/platform/wtf/testing/run_all_tests.cc:46:10 #14 0x7f768ba9e249 (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: 6196744a316dbd57c0fd8968df1680aac482cec4) SUMMARY: AddressSanitizer: bad-__sanitizer_annotate_contiguous_container (/chromium/chromium/src/out/asan/wtf_unittests+0x40d2dfe) (BuildId: 3799420377d31ce6) in __sanitizer_annotate_contiguous_container ==2397==ADDITIONAL INFO ==2397==Note: Please include this section with the ASan report. Task trace: ==2397==END OF ADDITIONAL INFO ==2397==ABORTING