[mapserver-commits] [mapserver/mapserver] 814286: add missing map reference to image

GitHub noreply at github.com
Fri Mar 7 10:15:11 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 814286deddf85f4c9829619c2af617fc862cb02b
      https://github.com/mapserver/mapserver/commit/814286deddf85f4c9829619c2af617fc862cb02b
  Author: Zak James <zak.james at gmail.com>
  Date:   2014-03-07 (Fri, 07 Mar 2014)

  Changed paths:
    M maplegend.c

  Log Message:
  -----------
  add missing map reference to image

When msCreateLegendIcon and msDrawLegendIcon are called from mapscript directly, the image does not have a map assigned. This causes a crash when the legend references a symbol as in the maprendering.c getTile function and tries to get the font from the image's map fontset reference.




More information about the mapserver-commits mailing list