aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-04-15 09:32:22 +0200
committerGitHub <noreply@github.com>2019-04-15 09:32:22 +0200
commitc16c23addf48fcb3c87e18bcfd4ebcf0d873a30d (patch)
tree08eec28f254291186c8256265cc0034555ec02af /test
parenta6bb3c4f1b8cb6aabbb01b10f07821c1ea8f9fee (diff)
parent47db7804524066e74fd787bdd0d7f2ba8394c220 (diff)
downloadPROJ-c16c23addf48fcb3c87e18bcfd4ebcf0d873a30d.tar.gz
PROJ-c16c23addf48fcb3c87e18bcfd4ebcf0d873a30d.zip
Merge pull request #1424 from rouault/ossfuzz_14248_14250
Ossfuzz 14248 14250
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 7de5fccc..8e82979e 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -2740,10 +2740,19 @@ expect 1 2
-------------------------------------------------------------------------------
operation +proj=lcc +a=9999999 +b=.9 +lat_2=1
--------------------------------------------------------------------------
+-------------------------------------------------------------------------------
expect failure errno invalid_eccentricity
-------------------------------------------------------------------------------
+# This case is incredible. ossfuzz has found the exact value of lat_1 that
+# triggers a division by zero
+operation +proj=lcc +lat_1=2D32 +lat_2=0 +a=6378137 +b=0.2
+-------------------------------------------------------------------------------
+expect failure
+# For some reason fails on MacOSX with a different error
+# errno invalid_eccentricity
+
+-------------------------------------------------------------------------------
operation +proj=lcc +ellps=GRS80 +lat_1=0 +lat_2=90
-------------------------------------------------------------------------------
expect failure errno lat_1_or_2_zero_or_90