diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-04-11 00:21:24 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-04-11 00:21:24 +0200 |
| commit | c1e730312965831e6b9c2093677a67716c198622 (patch) | |
| tree | b90bd6f8e54a2f983d1937622de467c80ed49357 /test | |
| parent | 00dffd7ace356d7cb39e2c515237d4351f5b5666 (diff) | |
| download | PROJ-c1e730312965831e6b9c2093677a67716c198622.tar.gz PROJ-c1e730312965831e6b9c2093677a67716c198622.zip | |
omerc: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14138
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 bbaca7ba..63766e79 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -3967,6 +3967,11 @@ operation +proj=omerc +R=1 +alpha=0 +lat_0=90 ------------------------------------------------------------------------------- expect failure errno lat_0_or_alpha_eq_90 +------------------------------------------------------------------------------- +operation +proj=omerc +lat_1=0.1 +a=6400000 +b=1 +------------------------------------------------------------------------------- +expect failure errno invalid_eccentricity + =============================================================================== Ortelius Oval |
