Bug report #1700

[PATCH] Fix crash in qgsnewogrconnection.cpp

Added by Even Rouault over 11 years ago. Updated over 11 years ago.

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.

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

History

#1 Updated by Jürgen Fischer over 11 years ago

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

Thanks. Applied in

Also available in: Atom PDF