Ticket #2778 (closed defect: fixed)
ENVI importer crashes when attempting to open an ENVI signature file.
| Reported by: | tclarke | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.5 |
| Component: | GDAL_Raster | Version: | 1.3.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Around line 1816 in envidataset.cpp, there's a crash if attempting to open a valid ENVI file but of an unknown type. The problem is that the "delete poDS;" should be after the CPLError() since CPLError() references memory cleaned up by the delete.
Change History
Note: See
TracTickets for help on using
tickets.
