[pdal-commits] [PDAL/PDAL] 1f1d19: Protect IStream::get from invalid vector address

GitHub noreply at github.com
Mon Nov 7 13:11:10 PST 2016


  Branch: refs/heads/istream-get
  Home:   https://github.com/PDAL/PDAL
  Commit: 1f1d1981c5206e751df94d10118f76f6ddf49338
      https://github.com/PDAL/PDAL/commit/1f1d1981c5206e751df94d10118f76f6ddf49338
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
    M include/pdal/util/IStream.hpp

  Log Message:
  -----------
  Protect IStream::get from invalid vector address

Passing in an empty vector should be considered user error, so we simply
protect the read call with an assert.


  Commit: 066bc7c60ca6de8733be775a811bd806e7bcf9c7
      https://github.com/PDAL/PDAL/commit/066bc7c60ca6de8733be775a811bd806e7bcf9c7
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
    M io/las/VariableLengthRecord.cpp

  Log Message:
  -----------
  Only read VLR data if there are data to read


Compare: https://github.com/PDAL/PDAL/compare/b5c726f6b0a4...066bc7c60ca6


More information about the pdal-commits mailing list