[gdal-dev] Vector only GDAL build?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] Vector only GDAL build?

Jim Walseth

Does anyone have experience or information about building GDAL without LibTIFF?

We are using GDAL only for vector data conversions, yet are faced with updating GDAL a second time due to reported security vulnerabilities in libTIFF.

 

Thanks.

 

-Jim

 


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Vector only GDAL build?

Even Rouault-2

On jeudi 3 août 2017 21:16:30 CEST Jim Walseth wrote:

> Does anyone have experience or information about building GDAL without

> LibTIFF?

>

> We are using GDAL only for vector data conversions, yet are faced with

> updating GDAL a second time due to reported security vulnerabilities in

> libTIFF.

 

You could more simply exclude the GTiff driver at runtime by definining the environment variable / configuration option GDAL_SKIP to GTIFF

 

Or just remove / comment the GDALRegister_GTiff() line in frmts/gdalallregister.cpp when rebuilding GDAL

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Vector only GDAL build?

Kurt Schwehr-2
What Even said or alternatives:

#if 1
int ThingIDoNotWant() { return 0; }
#else
int ThingIDoNotWant() {
 normal body
}
#endif

Or place an abort(); call in any place where you absolutely don't want to go but can't easily get rid of.  Better to have a program go down than to run something you don't want.  Works well if there is someplace bad buried inside complicated logic.

On Thu, Aug 3, 2017 at 2:25 PM, Even Rouault <[hidden email]> wrote:

On jeudi 3 août 2017 21:16:30 CEST Jim Walseth wrote:

> Does anyone have experience or information about building GDAL without

> LibTIFF?

>

> We are using GDAL only for vector data conversions, yet are faced with

> updating GDAL a second time due to reported security vulnerabilities in

> libTIFF.

 

You could more simply exclude the GTiff driver at runtime by definining the environment variable / configuration option GDAL_SKIP to GTIFF

 

Or just remove / comment the GDALRegister_GTiff() line in frmts/gdalallregister.cpp when rebuilding GDAL

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev



--

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...