Ticket #2822 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed

Fixed in trunk in r16228 and in branches/1.6 in r16229

Note: See TracTickets for help on using tickets.