Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information