From fde6150b61aa225bb960d46f1611c82bf81315b3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 14 Mar 2019 23:07:29 +0100 Subject: Reject eccentricity values larger than one Valid eccentricity should be between 0 (included) or 1 (excluded) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13665 Credit to OSS Fuzz --- test/gie/ellipsoid.gie | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/gie/ellipsoid.gie b/test/gie/ellipsoid.gie index ea7f3888..2a6d02a5 100644 --- a/test/gie/ellipsoid.gie +++ b/test/gie/ellipsoid.gie @@ -134,6 +134,9 @@ expect failure errno rev_flattening_is_zero operation proj=utm zone=32 ellps=GRS80 es=1 expect failure errno eccentricity_is_one +operation proj=utm zone=32 a=1 es=1.1 +expect failure errno eccentricity_is_one + operation proj=utm zone=32 ellps=GRS80 b=0 expect failure errno eccentricity_is_one -- cgit v1.2.3