diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-04-03 11:48:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-03 11:48:39 +0200 |
| commit | 1e2e512f9a671df504f6f01eee53dc26939b3c0a (patch) | |
| tree | 78626a1dfd4f910321ae363401aa473c3aeaa904 /src/apps/gie.cpp | |
| parent | 1af48e8851f22857b4321f35b9df2bf4709c36c0 (diff) | |
| parent | c1f5b5105065d6cb9f4e547b6b79c83357f1d759 (diff) | |
| download | PROJ-1e2e512f9a671df504f6f01eee53dc26939b3c0a.tar.gz PROJ-1e2e512f9a671df504f6f01eee53dc26939b3c0a.zip | |
Merge pull request #1408 from rouault/ossfuzz_14015
Fixes Ossfuzz 14015 and gie bug
Diffstat (limited to 'src/apps/gie.cpp')
| -rw-r--r-- | src/apps/gie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/gie.cpp b/src/apps/gie.cpp index 912113b4..f0f7968f 100644 --- a/src/apps/gie.cpp +++ b/src/apps/gie.cpp @@ -1005,7 +1005,8 @@ Tell GIE what to expect, when transforming the ACCEPTed input else d = proj_xyz_dist (co, ce); - if (d > T.tolerance) + // Test written like that to handle NaN + if (!(d <= T.tolerance)) return expect_message (d, args); succs++; |
