aboutsummaryrefslogtreecommitdiff
path: root/src/strerrno.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-15 20:04:15 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-16 10:10:02 +0100
commit7dd1a2ee6bfb33807594f115c59548f8cf1d3475 (patch)
treeb7abd955a652d7ebf34a879195347d195e529feb /src/strerrno.cpp
parent3cce54767afe77412b850d2d88ee168370570b6f (diff)
downloadPROJ-7dd1a2ee6bfb33807594f115c59548f8cf1d3475.tar.gz
PROJ-7dd1a2ee6bfb33807594f115c59548f8cf1d3475.zip
aea: validate |lat_1| and |lat_2| <= 90
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13028 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 5dedef98..a9310a55 100644
--- a/src/strerrno.cpp
+++ b/src/strerrno.cpp
@@ -30,7 +30,7 @@ pj_err_list[] = {
"acos/asin: |arg| >1.+1e-14", /* -19 */
"tolerance condition error", /* -20 */
"conic lat_1 = -lat_2", /* -21 */
- "lat_1 >= 90", /* -22 */
+ "lat_0, lat_1 or lat_2 >= 90", /* -22 */
"lat_1 = 0", /* -23 */
"lat_ts >= 90", /* -24 */
"no distance between control points", /* -25 */