Bug report #1700

[PATCH] Fix crash in qgsnewogrconnection.cpp

Added by Even Rouault about 14 years ago. Updated about 14 years ago.

Assignee:nobody -
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


QgsNewOgrConnection::testConnection() will crash if it fails. It is illegal to call OGRReleaseDataSource() with a NULL pointer. Attached a patch that fixes the issue.

ticket1700.patch Magnifier (497 Bytes) Even Rouault, 2009-05-17 06:37 AM


#1 Updated by Jürgen Fischer about 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Thanks. Applied in

Also available in: Atom PDF