aboutsummaryrefslogtreecommitdiff
path: root/src/strerrno.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-06 07:10:56 +0200
committerGitHub <noreply@github.com>2019-05-06 07:10:56 +0200
commitf642aadbbcd816a7ae3173ea954c5d5562a11ba4 (patch)
treed5a653a6a306ad4c7fc7bc1586c20fac6d48f627 /src/strerrno.cpp
parentc5346c7c25ca9fe281df39eaeefebc1aa4009266 (diff)
parent96af6dbf69dd38421916438702be80f73276d879 (diff)
downloadPROJ-f642aadbbcd816a7ae3173ea954c5d5562a11ba4.tar.gz
PROJ-f642aadbbcd816a7ae3173ea954c5d5562a11ba4.zip
geos: avoid division by zero (#1451)
geos: avoid division by zero
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 c230d226..12546bd0 100644
--- a/src/strerrno.cpp
+++ b/src/strerrno.cpp
@@ -39,7 +39,7 @@ pj_err_list[] = {
"W <= 0 or M <= 0", /* -27 */
"lsat not in 1-5 range", /* -28 */
"path not in range", /* -29 */
- "h <= 0", /* -30 */
+ "h <= 0 or h > 1e10 * a", /* -30 */
"k <= 0", /* -31 */
"lat_1=lat_2 or lat_1=0 or lat_2=90", /* -32 */
"lat_0 = 0 or 90 or alpha = 90", /* -33 */