[gdal-dev] GDALDataset::CopyLayer options handling causing crash

Even Rouault even.rouault at spatialys.com
Tue Feb 11 12:55:32 PST 2020


Dirk,

> How is this supported to be handled? How can the caller know the options
> array has been destroyed by the CopyLayer function?

This is a GDAL bug. This couldn't work. And there was no test for this 
feature.
Fix & small test just committed in master and 3.0 branch

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list