Opened 16 years ago
Closed 16 years ago
#2436 closed defect (fixed)
HFA Compressed write with NBITS=1/2/4 crashes
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | GDAL_Raster | Version: | 1.5.2 |
Severity: | normal | Keywords: | HFA |
Cc: | gaopeng |
Description
Attempting to write HFA files compressed with NBITS=1,2 or 4 results in a crash due a divide by zero.
Note:
See TracTickets
for help on using tickets.
I have fixed the problem with the divide by zero.
I have also actually implemented support for 1/2/4 bit writing in trunk (r14747) and 1.5 branch (r14749). I have also incorporated a test in trunk (r14748).