Opened 15 years ago
Closed 15 years ago
#2822 closed defect (fixed)
GDAL gcore not robust enough to invalid raster block dimensions
Reported by: | Even Rouault | Owned by: | Even 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.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r16228 and in branches/1.6 in r16229