#2778 closed defect (fixed)
ENVI importer crashes when attempting to open an ENVI signature file.
Reported by: | tclarke | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
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 (3)
comment:1 by , 15 years ago
Milestone: | → 1.6.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 15 years ago
Milestone: | 1.6.1 → 1.5.5 |
---|
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r16100, in branches/1.6 in r16101 and in branches/1.5 in r16102 (if there is a 1.5.5 release someday)