[Gdal-dev] Methods in the bindings that can easily create a segfault

Ari Jolma ari.jolma at tkk.fi
Sun Apr 29 13:24:26 EDT 2007


Frank Warmerdam kirjoitti:
>
> I'd be happy to have NULL checking, but I think the swig bindings is the
> wrong place for it. I believe it should be done in the C API functions
> instead.  My preference would be for you to backout any changes you have
> made like:
>
>   http://trac.osgeo.org/gdal/changeset/11367
>
> And we instead do this comprehensively in the C API.  I'd be willing to
> queue this up as a job for Matuesz in trunk (not 1.4 branch).

That would be good. I just didn't want to mess with the C API.

Cheers,

Ari





More information about the Gdal-dev mailing list