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)
Change History (2)
by , 15 years ago
Attachment: | ticket1700.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks. Applied in r10808