#1854 closed defect (fixed)
NITF and 1-bit images
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | nitf 1-bit |
Cc: |
Description
I've run GDAL on a number of NITF 2.1 images from http://www.gwg.nga.mil/ntb/baseline/software/testfile/Nitfv2_1/scen_2_1.html.
The following 1-bit images make GDAL segfault or give errors with valgrind :
- i_3034c.ntf
- ns3034d.nsf
- i_3034f.ntf
I'm enclosing a patch that fixes the case of i_3034c.ntf. I'm not sure if this is right way to fix it but openev will display a green arrow on a red background as expected. The 2 other cases are not addressed by the patch.
Attachments (4)
Change History (6)
by , 17 years ago
Attachment: | gdal_svn_trunk_fix_for_i_3034c_ntf_bug1854.patch added |
---|
by , 17 years ago
Attachment: | i_3034c.ntf added |
---|
by , 17 years ago
Attachment: | ns3034d.nsf added |
---|
by , 17 years ago
Attachment: | i_3034f.ntf added |
---|
comment:1 by , 16 years ago
Milestone: | → 1.5.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
Patch applied in trunk as r12927 with a few adjustments (added NBITS metadata, slightly improved error reporting).
Added test with i_3034c.ntf in the test suite (r12926).