aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-15 20:04:15 +0100
committerKristian Evers <kristianevers@gmail.com>2019-03-17 08:10:57 +0100
commitd6c8e820ec85b9474cd1e1fe166a7ccb752843be (patch)
tree96878386120376cb81921caa8f80fedac4170d36 /test
parent5d86735f6770fc7779578205f6f5ecbf91536035 (diff)
downloadPROJ-d6c8e820ec85b9474cd1e1fe166a7ccb752843be.tar.gz
PROJ-d6c8e820ec85b9474cd1e1fe166a7ccb752843be.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