Ticket #1914 (closed defect: fixed)
GDALRasterBlock::Internalize() failures not handled properly
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.3 |
| Component: | GDAL_Raster | Version: | 1.4.2 |
| Severity: | normal | Keywords: | GDALRasterBlock |
| Cc: |
Description
The GDALRasterBlock::Internalize() method allocates memory for a cache block. On failure the GDALRasterBand::GetLockedBlockRef?() is not releasing the block lock before trying to delete it resulting in an assertion failure in debug builds. The internalize memory allocation failure message also really sucks "Internalize failed".
Change History
Note: See
TracTickets for help on using
tickets.
