diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-24 15:50:52 +0000 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-24 15:50:52 +0000 |
| commit | a733c85e42a20c17528afebed1bcf345bf755d0c (patch) | |
| tree | 3ca1505409f3f43b03a997689573b98b2a767723 /test | |
| parent | 128421dd503bc89ec13fb151d8db4e06606d04da (diff) | |
| download | PROJ-a733c85e42a20c17528afebed1bcf345bf755d0c.tar.gz PROJ-a733c85e42a20c17528afebed1bcf345bf755d0c.zip | |
lcc: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13892
Credit to OSS Fuzz
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index bb5379fe..05dcf2d3 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -2687,6 +2687,21 @@ operation +proj=lcc +a=9999999 +b=.9 +lat_2=1 ------------------------------------------------------------------------- expect failure errno eccentricity_is_one +------------------------------------------------------------------------------- +operation +proj=lcc +ellps=GRS80 +lat_1=0 +lat_2=90 +------------------------------------------------------------------------------- +expect failure errno lat_1_or_2_zero_or_90 + +------------------------------------------------------------------------------- +operation +proj=lcc +ellps=GRS80 +lat_1=90 +lat_2=0 +------------------------------------------------------------------------------- +expect failure errno lat_1_or_2_zero_or_90 + +------------------------------------------------------------------------------- +operation +proj=lcc +ellps=GRS80 +lat_1=90 +lat_2=90 +------------------------------------------------------------------------------- +expect failure errno lat_1_or_2_zero_or_90 + =============================================================================== Lambert Conformal Conic Alternative Conic, Sph&Ell |
