Ticket #2190 (closed defect: fixed)
PNMDataset False Positive
| Reported by: | rsoconnor | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.5 |
| Component: | GDAL_Raster | Version: | 1.4.0 |
| Severity: | normal | Keywords: | pnm |
| Cc: |
Description
GDAL tried to open up an ENVI file as a PNMDataset incorrectly and subsequently crashed in the GDALOpen function. It crashed in the "isspace" function because an assertion failed in pnmdataset.cpp
Admittedly this is a rare occurance and only happened once after opening up thousands of ENVI files.
The PNMDataset::Identify function may need to be more strict in its verification of files types.
My short term solution was just to deregister the PNM driver.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

