On mercredi 30 novembre 2016 18:43:24 CET Ari Jolma wrote:
> At gdalrasterize.cpp:349 there is a call to Transformer but the
> TransformArg is NULL, which leads to segfault. Above the call there is a
> comment:
> 
> // TODO: We need to add all appropriate error checking at some point.
> 
> Obviously not all error checking is not done.
> 
> I also noticed that in Perl code there is some additional ease of use
> added to the user - she can give to the Rasterize method simply a file
> name, which implicitly assumes that the user has given options that
> cause the file to be created, and if not the result is a segfault. The
> same happens in gdal_rasterize:
> 
> gdal_rasterize -burn 17 -l features 20.gml test.tiff
> 
> results in segfault

This issue is another one than Tim's one.

I've fixed both per https://trac.osgeo.org/gdal/ticket/6738

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to