diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-15 20:17:28 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-16 10:10:02 +0100 |
| commit | 44fc7dda9fc411f7c2f052c2271d563bc52f2518 (patch) | |
| tree | cdfa331dd0c2383a891b2c845bfc81344614c651 /test | |
| parent | 7dd1a2ee6bfb33807594f115c59548f8cf1d3475 (diff) | |
| download | PROJ-44fc7dda9fc411f7c2f052c2271d563bc52f2518.tar.gz PROJ-44fc7dda9fc411f7c2f052c2271d563bc52f2518.zip | |
ellps_spherification(): detect invalid semi-major axis value
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12909
Credit to OSS Fuzz
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/ellipsoid.gie | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/gie/ellipsoid.gie b/test/gie/ellipsoid.gie index 2a6d02a5..2a7bdd60 100644 --- a/test/gie/ellipsoid.gie +++ b/test/gie/ellipsoid.gie @@ -67,6 +67,9 @@ expect failure errno major_axis_not_given operation proj=merc +R=0 expect failure errno major_axis_not_given +operation +proj=merc +R_a +a=2 +f=2 +expect failure errno major_axis_not_given + operation expect failure operation cobra |
