aboutsummaryrefslogtreecommitdiff
path: root/src/strerrno.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-14 23:07:29 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-14 23:07:29 +0100
commitfde6150b61aa225bb960d46f1611c82bf81315b3 (patch)
treeb7c2741163c58245a60242900111f59028667ae3 /src/strerrno.cpp
parent5dc01e985e86b441ba2a671b712d3b211c8a2b33 (diff)
downloadPROJ-fde6150b61aa225bb960d46f1611c82bf81315b3.tar.gz
PROJ-fde6150b61aa225bb960d46f1611c82bf81315b3.zip
Reject eccentricity values larger than one
Valid eccentricity should be between 0 (included) or 1 (excluded) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13665 Credit to OSS Fuzz
Diffstat (limited to 'src/strerrno.cpp')
-rw-r--r--src/strerrno.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strerrno.cpp b/src/strerrno.cpp
index 01097a42..5dedef98 100644
--- a/src/strerrno.cpp
+++ b/src/strerrno.cpp
@@ -14,7 +14,7 @@ pj_err_list[] = {
"no colon in init= string", /* -3 */
"projection not named", /* -4 */
"unknown projection id", /* -5 */
- "effective eccentricity = 1.", /* -6 */
+ "effective eccentricity >= 1.", /* -6 */
"unknown unit conversion id", /* -7 */
"invalid boolean param argument", /* -8 */
"unknown elliptical parameter name", /* -9 */