aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-15 20:04:15 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-16 10:10:02 +0100
commit7dd1a2ee6bfb33807594f115c59548f8cf1d3475 (patch)
treeb7abd955a652d7ebf34a879195347d195e529feb /test
parent3cce54767afe77412b850d2d88ee168370570b6f (diff)
downloadPROJ-7dd1a2ee6bfb33807594f115c59548f8cf1d3475.tar.gz
PROJ-7dd1a2ee6bfb33807594f115c59548f8cf1d3475.zip
aea: validate |lat_1| and |lat_2| <= 90
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13028 Credit to OSS Fuzz
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 15bbaf05..c4f849a4 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -63,6 +63,11 @@ expect -0.001790494 0.000895246
accept -200 -100
expect -0.001790493 -0.000895247
+operation +proj=aea +ellps=GRS80 +lat_1=900
+expect failure errno lat_larger_than_90
+
+operation +proj=aea +ellps=GRS80 +lat_2=900
+expect failure errno lat_larger_than_90
===============================================================================
Azimuthal Equidistant