Ticket #3062 (closed defect: fixed)
gdal_contour calls GDALGetProjectionRef on a raster band !
| Reported by: | rouault | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.5 |
| Component: | Utilities | Version: | 1.4.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
gdal_contour calls GDALGetProjectionRef() on a raster band instead of the source dataset. By chance, for the GeoTIFF driver, this didn't cause any crash as it called a virtual method of the GTiffRasterBand class that returned NULL, but that could easily cause crashes on other drivers.
Change History
Note: See
TracTickets for help on using
tickets.
