aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-24 16:06:25 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-24 16:06:25 +0100
commit8f22c17b2ef9c1e216a1da0206acea41587f67ce (patch)
treee16cb4fc8f8579697b9cf9fe5c8979b965fce77b /test
parentc64972d10d44ea21b41a67ab581ac439d1a7f63b (diff)
downloadPROJ-8f22c17b2ef9c1e216a1da0206acea41587f67ce.tar.gz
PROJ-8f22c17b2ef9c1e216a1da0206acea41587f67ce.zip
urm5: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13891 Credit to OSS Fuzz
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 97009cff..bb5379fe 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -5253,7 +5253,7 @@ Urmaev V
===============================================================================
-------------------------------------------------------------------------------
-operation +proj=urm5 +a=6400000 +lat_1=0.5 +lat_2=2 +n=0.5
+operation +proj=urm5 +a=6400000 +n=0.5
-------------------------------------------------------------------------------
tolerance 0.1 mm
accept 2 1
@@ -5265,6 +5265,8 @@ expect -223393.638433964 111696.818785117
accept -2 -1
expect -223393.638433964 -111696.818785117
+operation +proj=urm5 +a=6400000 +n=1 +alpha=90
+expect failure errno lat_0_or_alpha_eq_90
===============================================================================
Urmaev Flat-Polar Sinusoidal