diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-04-22 18:01:09 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-04-22 18:01:09 +0200 |
| commit | 1b0c6fbc8b90522983b18772303ff517dec21cd5 (patch) | |
| tree | acf6efc5cb0a9714e0332335f4bbc5d957053aba /test | |
| parent | a73897b846cda97dfde9bd904d78b2049a6fb475 (diff) | |
| download | PROJ-1b0c6fbc8b90522983b18772303ff517dec21cd5.tar.gz PROJ-1b0c6fbc8b90522983b18772303ff517dec21cd5.zip | |
airy: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14410
Credit to OSS Fuzz
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index 49b135d9..3953a1b6 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -324,7 +324,7 @@ Airy =============================================================================== ------------------------------------------------------------------------------- -operation +proj=airy +a=6400000 +lat_1=0 +lat_2=2 +operation +proj=airy +a=6400000 ------------------------------------------------------------------------------- tolerance 0.1 mm accept 2 1 @@ -404,6 +404,11 @@ expect 0 0 accept 25 25 expect 0.3821 0.4216 +------------------------------------------------------------------------------- +operation +proj=airy +R=1 +no_cut +------------------------------------------------------------------------------- +accept -180 0 +expect failure errno tolerance_condition =============================================================================== Aitoff |
