diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-04-19 14:21:42 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-04-19 14:21:42 +0200 |
| commit | 3ff04e06a2ba9d40ead861be0ebdb22af45eaa0d (patch) | |
| tree | 3f0ed0985b9bdb8754cd835c499fa37af0e46fbe /examples/pj_obs_api_mini_demo.c | |
| parent | fb88946ac55fafd25a021e26c151b492efe5fd4c (diff) | |
| download | PROJ-3ff04e06a2ba9d40ead861be0ebdb22af45eaa0d.tar.gz PROJ-3ff04e06a2ba9d40ead861be0ebdb22af45eaa0d.zip | |
Inverse cart: better deal with x,y,z equal of very close to zero
In that case, for a non-spherical ellipsoid, a phi = 180deg was returned,
which caused a division by zero in the foward path of moll.cpp
Fixup the latitude to be 0 when that happens.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14348
Credit to OSS Fuzz
Diffstat (limited to 'examples/pj_obs_api_mini_demo.c')
0 files changed, 0 insertions, 0 deletions
