JP2KAK driver crashes reading certain datasets using RasterIO()
|Reported by:||rprinceley||Owned by:||rprinceley|
Encountered certain JP2 RGBA files with 16bit RGB and 8bit alpha bands. Using RasterIO() to read all bands in such a dataset will trigger a crash.
Ideally, JP2KAKRasterBand::IReadBlock() should skip bands that are not of the same data type when reading multiple bands.