[gdal-dev] "Banning" use of underflow/overflow with unsigned integer arithmetic ?

Even Rouault even.rouault at spatialys.com
Fri Aug 16 12:50:57 PDT 2019


On vendredi 16 août 2019 14:40:01 CEST Andrew Bell wrote:
> Is this just on when running tests?

This would be only enabled on the "sanitize" configuration of Travis CI, and 
this would of course only detect such occurence in the code paths exercised by 
the test suite. My idea is also to try to run the OSS Fuzz GDAL tests with 
this enabled to discover more corner cases where the overflows actually turn 
to crashes, but a preamble is to have the regular tests running without 
overflows first.

Even

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


More information about the gdal-dev mailing list