Ticket #2822 (closed defect: fixed)
GDAL gcore not robust enough to invalid raster block dimensions
| Reported by: | rouault | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
A number of fixes are necessary to make GDAL gcore more robust to invalid raster block dimensions ((0, negative or near MAX_INT values, for example from a driver that doesn't validate those values enough before returning a dataset), or to various integer overflows. Also callers of poBlock->GetDataRef?() should always check that the pointer is not NULL.
Change History
Note: See
TracTickets for help on using
tickets.
