Opened 15 years ago

Closed 15 years ago

#1700 closed bug (fixed)

[PATCH] Fix crash in qgsnewogrconnection.cpp

Reported by: rouault Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: OGR Layer support Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Awaiting user input: no

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.

Attachments (1)

ticket1700.patch (497 bytes ) - added by rouault 15 years ago.

Download all attachments as: .zip

Change History (2)

by rouault, 15 years ago

Attachment: ticket1700.patch added

in reply to:  description comment:1 by jef, 15 years ago

Resolution: fixed
Status: newclosed

Thanks. Applied in r10808

Note: See TracTickets for help on using tickets.