diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-21 09:54:04 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-21 12:49:31 +0100 |
| commit | ab19f0d7aec223b89537d07d5f5f3f2e1f5db822 (patch) | |
| tree | d73eba3ecb0347d7131b25527aa496351c8434a1 /test | |
| parent | 5d74522573291a8af698acf3102a662eb3a675eb (diff) | |
| download | PROJ-ab19f0d7aec223b89537d07d5f5f3f2e1f5db822.tar.gz PROJ-ab19f0d7aec223b89537d07d5f5f3f2e1f5db822.zip | |
aea: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13827
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 56724782..97009cff 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -69,6 +69,11 @@ expect failure errno lat_larger_than_90 operation +proj=aea +ellps=GRS80 +lat_2=900 expect failure errno lat_larger_than_90 +------------------------------------------------------------------------------- +operation +proj=aea +a=9999999 +b=.9 +lat_2=1 +------------------------------------------------------------------------- +expect failure errno eccentricity_is_one + =============================================================================== Azimuthal Equidistant Azi, Sph&Ell |
