[pdal-commits] [PDAL/PDAL] e7ed14: Initialize LasWriter::m_forwardVlrs (#1948)

GitHub noreply at github.com
Sat Apr 21 15:31:06 PDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: e7ed147dec8ffa2a11ec1214b4376c42405007df
      https://github.com/PDAL/PDAL/commit/e7ed147dec8ffa2a11ec1214b4376c42405007df
  Author: Even Rouault <even.rouault at mines-paris.org>
  Date:   2018-04-21 (Sat, 21 Apr 2018)

  Changed paths:
    M io/LasWriter.hpp

  Log Message:
  -----------
  Initialize LasWriter::m_forwardVlrs (#1948)

Fixes the following Valgrind warning on FerryFilterTest

==17720== Conditional jump or move depends on uninitialised value(s)
==17720==    at 0x56E9B3A: pdal::LasWriter::addForwardVlrs() (LasWriter.cpp:441)
==17720==    by 0x56E85B2: pdal::LasWriter::readyTable(pdal::BasePointTable&) (LasWriter.cpp:307)
==17720==    by 0x56A727B: pdal::FlexWriter::ready(pdal::BasePointTable&) (FlexWriter.hpp:89)
==17720==    by 0x577046F: pdal::Stage::execute(pdal::BasePointTable&) (Stage.cpp:209)
==17720==    by 0x5782430: pdal::PipelineManager::execute() (PipelineManager.cpp:207)
==17720==    by 0x457957: FerryFilterTest_test_ferry_copy_json_Test::TestBody() (FerryFilterTest.cpp:104)
==17720==    by 0x493CE7: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2078)
==17720==    by 0x48EC8A: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2114)
==17720==    by 0x4744B3: testing::Test::Run() (gtest.cc:2151)
==17720==    by 0x474D5B: testing::TestInfo::Run() (gtest.cc:2326)
==17720==    by 0x47544A: testing::TestCase::Run() (gtest.cc:2444)
==17720==    by 0x47C527: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:4315)
==17720==




More information about the pdal-commits mailing list