Skip to content

Commit

Permalink
Legendicon 500 error (#5926)
Browse files Browse the repository at this point in the history
 Fix segfault with legendicon request on certain layer configs (line with truetype symbols).
  • Loading branch information
sdlime authored Nov 21, 2019
1 parent 6c6ec00 commit 0af5737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mapservutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,7 @@ int msCGIDispatchLegendIconRequest(mapservObj *mapserv)
status = MS_FAILURE;
goto li_cleanup;
}
img->map = mapserv->map;

/* drop this reference to output format */
msApplyOutputFormat(&format, NULL, MS_NOOVERRIDE, MS_NOOVERRIDE, MS_NOOVERRIDE);
Expand Down

0 comments on commit 0af5737

Please sign in to comment.