diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-20 22:22:38 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-20 22:22:38 +0100 |
| commit | 17f2f7cf8bcaa5a4edc9e94d2bd6d8e633455c03 (patch) | |
| tree | 41442c2b864d89aaf2b308d1f09735cd6461e5d6 /test | |
| parent | fe01efca4e02d4ded4b397c6dcd0cd8ab8f6123a (diff) | |
| download | PROJ-17f2f7cf8bcaa5a4edc9e94d2bd6d8e633455c03.tar.gz PROJ-17f2f7cf8bcaa5a4edc9e94d2bd6d8e633455c03.zip | |
lcc: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12935
Credit to OSS Fuzz
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index b9680ca8..56724782 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -2677,6 +2677,11 @@ direction inverse accept 131824.206082557 267239.875053699 expect 1 2 +------------------------------------------------------------------------------- +operation +proj=lcc +a=9999999 +b=.9 +lat_2=1 +------------------------------------------------------------------------- +expect failure errno eccentricity_is_one + =============================================================================== Lambert Conformal Conic Alternative Conic, Sph&Ell |
