Skip to content

Commit

Permalink
Merge pull request #6682 from MapServer/backport-6670-to-branch-8-0
Browse files Browse the repository at this point in the history
[Backport branch-8-0] msLoadMap(): fix nullptr dereference when using LATLON keyword
  • Loading branch information
jmckenna committed Oct 6, 2022
2 parents 2fa307d + 53dff44 commit 323b676
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -6070,7 +6070,6 @@ static int loadMapInternal(mapObj *map)
map->imagetype = getToken();
break;
case(LATLON):
msFreeProjectionExceptContext(&map->latlon);
if(loadProjection(&map->latlon) == -1) return MS_FAILURE;
break;
case(LAYER):
Expand Down

0 comments on commit 323b676

Please sign in to comment.