aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-04-05 15:41:28 +0200
committerGitHub <noreply@github.com>2019-04-05 15:41:28 +0200
commit0ea2b4e82700ba9aa0ae67ec0ee72ae58bc4f0c9 (patch)
treea602774d5e52071f006b37d59147708a4b57739e /src/init.cpp
parent1e2e512f9a671df504f6f01eee53dc26939b3c0a (diff)
parentf6ba932a8f1d7f0775d4ebe367b2d5faef57461a (diff)
downloadPROJ-0ea2b4e82700ba9aa0ae67ec0ee72ae58bc4f0c9.tar.gz
PROJ-0ea2b4e82700ba9aa0ae67ec0ee72ae58bc4f0c9.zip
Merge pull request #1411 from rouault/ossfuzz_14044_and_all
Ossfuzz 14044 and others
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index cfcba96f..0fd303f5 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -679,7 +679,7 @@ pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_i
PIN->a_orig = PIN->a;
PIN->es_orig = PIN->es;
if (pj_calc_ellipsoid_params (PIN, PIN->a, PIN->es))
- return pj_default_destructor (PIN, PJD_ERR_ECCENTRICITY_IS_ONE_OR_GREATER);
+ return pj_default_destructor (PIN, PJD_ERR_INVALID_ECCENTRICITY);
/* Now that we have ellipse information check for WGS84 datum */
if( PIN->datum_type == PJD_3PARAM