Ticket #2837 (closed defect: fixed)
GDALDatasetPool::~GDALDatasetPool() asserts when an underlying file cannot be opened
| Reported by: | rouault | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This is due to the fact that in GDALProxyPoolDataset::RefUnderlyingDataset?() we should release the reference to the cache entry when the underlying dataset is NULL.
There are also a few methods in gdalproxypool.cpp that don't check the return value of RefUnderlyingDataset?() is not NULL
Change History
Note: See
TracTickets for help on using
tickets.
