New issue
Advanced search Search tips

Issue 861727 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 861726
Owner: ----
Closed: Jul 9
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Security



Sign in to add a comment

MemorySanitizer: use-of-uninitialized-value

Reported by dbezhec...@yandex-team.ru, Jul 9

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 YaBrowser/18.4.1.868 Yowser/2.5 Safari/537.36

Steps to reproduce the problem:
1. build browser with msan
2. run base_unittests.ProcessTest.WaitForExitWithTimeout

What is the expected behavior?
no errors

What went wrong?
==414845==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x52d50e in CmpHelperEQ<int, int> /src/third_party/googletest
    #1 0x52d50e in testing::AssertionResult testing::internal::EqHelper<false>::Compare<int, int>(char const*, char const*, int const&, int const&) /src/third_party/googletest
    #2 0x1b9a25a in base::ProcessTest_WaitForExitWithTimeout_Test::TestBody() /src/base/process/process_unittest.cc:220:3
    #3 0x3aede8d in testing::Test::Run() /src/third_party/googletest
    #4 0x3af15eb in testing::TestInfo::Run() /src/third_party/googletest
    #5 0x3af3009 in testing::TestCase::Run() /src/third_party/googletest
    #6 0x3b29844 in testing::internal::UnitTestImpl::RunAllTests() /src/third_party/googletest
    #7 0x3b28342 in testing::UnitTest::Run() /src/third_party/googletest
    #8 0x4035474 in RUN_ALL_TESTS /src/third_party/googletest
    #9 0x4035474 in base::TestSuite::Run() /src/base/test/test_suite.cc:275:0
    #10 0x40655e3 in Run /src/base/callback.h:96:12
    #11 0x40655e3 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) /src/base/test/launcher/unit_test_launcher.cc:225:0
    #12 0x4064c5e in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) /src/base/test/launcher/unit_test_launcher.cc:582:10
    #13 0x4001b91 in main /src/base/test/run_all_base_unittests.cc:12:10
    #14 0x7fd7a91b8f44 in __libc_start_main /src/??:0:0
    #15 0x4b9029 in _start /src/??:0:0

  Uninitialized value was stored to memory at
    #0 0x3fa4915 in base::Process::WaitForExitWithTimeout(base::TimeDelta, int*) const /src/base/process/process_posix.cc:350:18
    #1 0x1b99a69 in base::ProcessTest_WaitForExitWithTimeout_Test::TestBody() /src/base/process/process_unittest.cc:219:3
    #2 0x3aede8d in testing::Test::Run() /src/third_party/googletest
    #3 0x3af15eb in testing::TestInfo::Run() /src/third_party/googletest
    #4 0x3af3009 in testing::TestCase::Run() /src/third_party/googletest
    #5 0x3b29844 in testing::internal::UnitTestImpl::RunAllTests() /src/third_party/googletest
    #6 0x3b28342 in testing::UnitTest::Run() /src/third_party/googletest
    #7 0x4035474 in RUN_ALL_TESTS /src/third_party/googletest
    #8 0x4035474 in base::TestSuite::Run() /src/base/test/test_suite.cc:275:0
    #9 0x40655e3 in Run /src/base/callback.h:96:12
    #10 0x40655e3 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) /src/base/test/launcher/unit_test_launcher.cc:225:0
    #11 0x4064c5e in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) /src/base/test/launcher/unit_test_launcher.cc:582:10
    #12 0x4001b91 in main /src/base/test/run_all_base_unittests.cc:12:10
    #13 0x7fd7a91b8f44 in __libc_start_main /src/??:0:0

  Uninitialized value was created
    <empty stack>

SUMMARY: MemorySanitizer: use-of-uninitialized-value (/place/sandbox-data/tasks/7/2/264344627/btr_isolate_6FoGYB/src/out/Default/base_unittests+0x52d50e)

Did this work before? N/A 

Chrome version: 65.0.3325.181  Channel: n/a
OS Version: 3.18.43-40
Flash Version:
 
Mergedinto: 861726
Status: Duplicate (was: Unconfirmed)
Project Member

Comment 2 by sheriffbot@chromium.org, Oct 16

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment