diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-14 23:07:29 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-03-15 06:47:00 +0100 |
| commit | 03da77ddde68e094c8bce8395cc4f9eccaf17bd2 (patch) | |
| tree | 148f8682e8700be47d8c5d6ea3a1be8ac1d580eb /src/strerrno.cpp | |
| parent | a944ed7e78b6d0350ebf12e5b442a1e2669b875d (diff) | |
| download | PROJ-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.cpp | 2 |
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 */ |
