Opened 12 years ago

Closed 12 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


Attempting to write HFA files compressed with NBITS=1,2 or 4 results in a crash due a divide by zero.

Change History (1)

comment:1 Changed 12 years ago by warmerdam

Resolution: fixed
Status: newclosed

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).

Note: See TracTickets for help on using tickets.