Opened 17 years ago

Last modified 17 years ago

#1446 closed defect (fixed)

MrSID driver fails when decoding strip data — at Initial Version

Reported by: mchapman Owned by: mchapman
Priority: high Milestone: 1.4.1
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords:
Cc:

Description

In MrSIDDummyImageReader::decodeStrip() sometimes the request to stripData.importDataBSQ() can fail from a buffer overrun error.  The problem is that the wrong dimensions are used to allocate the data buffer for RasterIO().  The fix is to get the Y size from the stripData.getTotalNumRows() method instead of the stripScene.getNumRows() method.

Change History (0)

Note: See TracTickets for help on using tickets.