aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-13 11:40:56 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-13 11:40:56 +0200
commit1b1d3bd77237ac574e3d5c8f4c3cc50bdadac76a (patch)
tree9ae4771e99b44e072eae4f3327a137fbd892543c /src
parentde5059b4efb088f5b88ef73878bda3fc8b6609d0 (diff)
downloadPROJ-1b1d3bd77237ac574e3d5c8f4c3cc50bdadac76a.tar.gz
PROJ-1b1d3bd77237ac574e3d5c8f4c3cc50bdadac76a.zip
OSS-Fuzz issue 3630: Missing return in PJ_lsat.c
Resolves https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3630 Credit to OSS-Fuzz
Diffstat (limited to 'src')
-rw-r--r--src/PJ_lsat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_lsat.c b/src/PJ_lsat.c
index 1b3778d6..7319bee7 100644
--- a/src/PJ_lsat.c
+++ b/src/PJ_lsat.c
@@ -163,7 +163,7 @@ PJ *PROJECTION(lsat) {
path = pj_param(P->ctx, P->params, "ipath").i;
if (path <= 0 || path > (land <= 3 ? 251 : 233))
- pj_default_destructor(P, PJD_ERR_PATH_NOT_IN_RANGE);
+ return pj_default_destructor(P, PJD_ERR_PATH_NOT_IN_RANGE);
if (land <= 3) {
P->lam0 = DEG_TO_RAD * 128.87 - M_TWOPI / 251. * path;