[pdal-commits] [PDAL/PDAL] 931c8a: Fix out of range access bug in trimTrailing

GitHub noreply at github.com
Wed Feb 17 08:46:19 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 931c8ae7eac69220248c6df4fd0d13618b55af47
      https://github.com/PDAL/PDAL/commit/931c8ae7eac69220248c6df4fd0d13618b55af47
  Author: Mateusz Łoskot <mateusz at loskot.net>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M src/util/Utils.cpp

  Log Message:
  -----------
  Fix out of range access bug in trimTrailing

If input string is empty, size()-1 overflows
causing character access beyond valid range.


  Commit: 2b1eb3f514fea3f0e20921fc57c4714cb0d1f48d
      https://github.com/PDAL/PDAL/commit/2b1eb3f514fea3f0e20921fc57c4714cb0d1f48d
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M src/util/Utils.cpp

  Log Message:
  -----------
  Merge pull request #1130 from mloskot/ml/fix-trim

Fix out of range access bug in trimTrailing


Compare: https://github.com/PDAL/PDAL/compare/37b3f35e75ef...2b1eb3f514fe


More information about the pdal-commits mailing list