Ticket #1493 (closed defect: fixed)
GDALFindAssociatedAuxFile try to open 'aux' file when baseName is empty
| Reported by: | daim.project@… | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | GDAL_Raster | Version: | 1.4.0 |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
When calling GDALFindAssociatedAuxFile (gdal_misc.p) with pszBasename as an empty string this result in VSIFOpenL (ligne 2411) call with 'aux' as file name : on Windows this is a reserved name to specific I/O , thus the next call to VSIFReadL just hang. This occur for exemple when creating an 'in memory' VRT datatset using GDALCreateCopy( ) with an empty vrt file name. In my opinion, GDALFindAssociatedAuxFile should not be called or should return NULL if pszBasename is not specified (NULL or empty string)
Change History
Note: See
TracTickets for help on using
tickets.
