[QGIS Commit] [qgis/Quantum-GIS] d5ca55: fixed crash when trying to add features with inval...

GitHub noreply at github.com
Sat Feb 18 02:19:08 EST 2012


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: d5ca5554c30b94083e78e0e26c2f0435e66c0726
      https://github.com/qgis/Quantum-GIS/commit/d5ca5554c30b94083e78e0e26c2f0435e66c0726
  Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M src/app/qgsmaptooladdfeature.cpp

  Log Message:
  -----------
  fixed crash when trying to add features with invalid geometry

QgsMapToolAddFeature::canvasReleaseEvent wasn't checking if geos returned
a sane geometry. One simple way of triggering the crash is to click twice
on the same point and then complete the op by rightclicking. Of course this
is not a real polygon, so things went haywire after that.


  Commit: 974fe9531b0d9e0b913011bd704ff1c41b9324ea
      https://github.com/qgis/Quantum-GIS/commit/974fe9531b0d9e0b913011bd704ff1c41b9324ea
  Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M src/app/qgsmaptooladdfeature.cpp

  Log Message:
  -----------
  removed extraneus pointer redeclaration


  Commit: 46f208fc22bed2920f33918fe31fffea73812b3b
      https://github.com/qgis/Quantum-GIS/commit/46f208fc22bed2920f33918fe31fffea73812b3b
  Author: mhugent <marco.hugentobler at sourcepole.ch>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M src/app/qgsmaptooladdfeature.cpp

  Log Message:
  -----------
  Merge pull request #98 from lynxlynxlynx/master

a crash fix and a tiny cleanup


Compare: https://github.com/qgis/Quantum-GIS/compare/cd509e6...46f208f


More information about the QGIS-commit mailing list