aboutsummaryrefslogtreecommitdiff
path: root/src/strerrno.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-14 23:07:29 +0100
committerKristian Evers <kristianevers@gmail.com>2019-03-15 06:47:00 +0100
commit03da77ddde68e094c8bce8395cc4f9eccaf17bd2 (patch)
tree148f8682e8700be47d8c5d6ea3a1be8ac1d580eb /src/strerrno.cpp
parenta944ed7e78b6d0350ebf12e5b442a1e2669b875d (diff)
downloadPROJ-03da77ddde68e094c8bce8395cc4f9eccaf17bd2.tar.gz
PROJ-03da77ddde68e094c8bce8395cc4f9eccaf17bd2.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 */