#6907 closed defect (fixed)
Northwood GRC driver fails with 0-len class names in classified file
Reported by: | Daniel Morissette | Owned by: | Daniel Morissette |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.6 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I came across a Northwood GRC classified file (8 bit PCT) that failed to be opened/detected as a GDAL supported format.
Upon investigation, I found that the reader code failed reading the header because one of the class labels is an empty string (0-len).
Unfortunately I don't think I can share the test file here, but the fix is trivial enough so there is little risk.
Change History (4)
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 7 years ago
Fix backported, will be part of the following GDAL releases if/when they happen: 2.3.0 (current trunk), 2.2.1 and 1.11.6
Note:
See TracTickets
for help on using tickets.
In 38733: