Skip to content
Permalink
Browse files

Backport pull request #5926 from master.

This fixes a segfault issue with mode=legendicon and certain conditions where the opaque pointer back to the parent mapObj is used, for instance when dealing with truetype symbols along a line.
  • Loading branch information
sdlime committed Dec 12, 2019
1 parent d841ce9 commit 54ae78c3f10f8e8c90016de2320718083e6dbe92
Showing with 1 addition and 0 deletions.
  1. +1 −0 mapservutil.c
@@ -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);

0 comments on commit 54ae78c

Please sign in to comment.
You can’t perform that action at this time.