[QGIS-trac] [Quantum GIS] #1700: [PATCH] Fix crash in qgsnewogrconnection.cpp

Quantum GIS qgis at qgis.org
Sun May 17 09:37:25 EDT 2009


#1700: [PATCH] Fix crash in qgsnewogrconnection.cpp
---------------------------------------------------------+------------------
   Reporter:  rouault                                    |              Owner:  nobody
       Type:  bug                                        |             Status:  new   
   Priority:  critical: causes crash or data corruption  |          Milestone:        
  Component:  OGR Layer support                          |            Version:  HEAD  
   Keywords:                                             |   Platform_version:        
   Platform:  Debian                                     |           Must_fix:  Yes   
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 QgsNewOgrConnection::testConnection() will crash if it fails. It is
 illegal to call OGRReleaseDataSource() with a NULL pointer. Attached a
 patch that fixes the issue.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1700>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list