aboutsummaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-05-05 20:28:59 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-05-05 20:28:59 +0200
commit96af6dbf69dd38421916438702be80f73276d879 (patch)
treed5a653a6a306ad4c7fc7bc1586c20fac6d48f627 /src/apps
parentc5346c7c25ca9fe281df39eaeefebc1aa4009266 (diff)
downloadPROJ-96af6dbf69dd38421916438702be80f73276d879.tar.gz
PROJ-96af6dbf69dd38421916438702be80f73276d879.zip
geos: avoid division by zero
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14602 Credit to OSS Fuzz
Diffstat (limited to 'src/apps')
-rw-r--r--src/apps/gie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/gie.cpp b/src/apps/gie.cpp
index 5a86ebb7..2f401984 100644
--- a/src/apps/gie.cpp
+++ b/src/apps/gie.cpp
@@ -1121,7 +1121,7 @@ static const struct errno_vs_err_const lookup[] = {
{"pjd_err_w_or_m_zero_or_less" , -27},
{"pjd_err_lsat_not_in_range" , -28},
{"pjd_err_path_not_in_range" , -29},
- {"pjd_err_h_less_than_zero" , -30},
+ {"pjd_err_invalid_h" , -30},
{"pjd_err_k_less_than_zero" , -31},
{"pjd_err_lat_1_or_2_zero_or_90" , -32},
{"pjd_err_lat_0_or_alpha_eq_90" , -33},