Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#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 Even Rouault, 15 years ago

Milestone: 1.6.1
Resolution: fixed
Status: newclosed

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)

comment:2 by Even Rouault, 15 years ago

Milestone: 1.6.11.5.5

comment:3 by Even Rouault, 11 years ago

Milestone: 1.5.5

Milestone 1.5.5 deleted

Note: See TracTickets for help on using tickets.