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

GitHub noreply at github.com
Mon Nov 7 14:29:53 PST 2016


  Branch: refs/heads/istream-get
  Home:   https://github.com/PDAL/PDAL
  Commit: c0f4207c00a66dc74c52bcdf44ff442e4272d7e7
      https://github.com/PDAL/PDAL/commit/c0f4207c00a66dc74c52bcdf44ff442e4272d7e7
  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: ca6b10c5f25e637ff85602da00a69fec3327596d
      https://github.com/PDAL/PDAL/commit/ca6b10c5f25e637ff85602da00a69fec3327596d
  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/066bc7c60ca6...ca6b10c5f25e


More information about the pdal-commits mailing list