From 03da77ddde68e094c8bce8395cc4f9eccaf17bd2 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