[gdal-dev] Seg fault & error running gdal_rasterize on a non georeferenced raster
Even Rouault
even.rouault at spatialys.com
Wed Nov 30 09:53:07 PST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20161130/a837408c/attachment.html>
More information about the gdal-dev
mailing list