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

GitHub noreply at github.com
Tue Nov 8 14:46:46 PST 2016


  Branch: refs/heads/master
  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


  Commit: 8bb5eb1e85f2a056c08310babeaaad263df2dc7f
      https://github.com/PDAL/PDAL/commit/8bb5eb1e85f2a056c08310babeaaad263df2dc7f
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
    M include/pdal/util/IStream.hpp
    M io/las/VariableLengthRecord.cpp

  Log Message:
  -----------
  Merge pull request #1360 from PDAL/istream-get

Protect IStream::get from invalid vector address


Compare: https://github.com/PDAL/PDAL/compare/30e9eaa1771a...8bb5eb1e85f2


More information about the pdal-commits mailing list