Ticket #2436 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

HFA Compressed write with NBITS=1/2/4 crashes

Reported by: warmerdam Assigned to: 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.

Change History

06/21/08 20:17:17 changed by warmerdam

  • status changed from new to closed.
  • resolution set to fixed.

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