Ticket #1446 (closed defect: fixed)
MrSID driver fails when decoding strip data
| Reported by: | mchapman | Owned by: | mchapman |
|---|---|---|---|
| Priority: | high | Milestone: | 1.4.1 |
| Component: | GDAL_Raster | Version: | 1.4.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by hobu) (diff)
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
Note: See
TracTickets for help on using
tickets.
