Bug report #1700
[PATCH] Fix crash in qgsnewogrconnection.cpp
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | - | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | Debian | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 11760 |
Description
QgsNewOgrConnection::testConnection() will crash if it fails. It is illegal to call OGRReleaseDataSource() with a NULL pointer. Attached a patch that fixes the issue.
History
#1 Updated by Jürgen Fischer over 15 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Thanks. Applied in