Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2689 closed defect (fixed)

MrSID image read corrupt for large images

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone: 1.5.4
Component: GDAL_Raster Version: 1.5.3
Severity: normal Keywords: mrsid
Cc: gaopeng


Attempts to translate a 97000 x 90000 mrsid image resulted in corrupt images (the x direction of the image was apparently at much reduced resolution with each pixel repeated 10 or 20 times).

Change History (2)

comment:1 Changed 12 years ago by warmerdam

Resolution: fixed
Status: newclosed

The problem was a 32bit integer overflow in the computation of sceneWidth and sceneHeight in the dataset level IRasterIO() implementation. Fixed in 1.5 branch (r15760) and trunk (r15761). It will appear in the 1.5.4 and 1.6.0 releases.

This bug only triggers in very wide (or tall) rasterio requests on very wide (or tall) images.

comment:2 Changed 12 years ago by warmerdam

I have also applied this fix in 1.4 branch (r15765) for release in a possible future 1.4.5.

Note: See TracTickets for help on using tickets.