[mapserver-commits] [MapServer/MapServer] 8bcd19: msLoadMap(): fix nullptr dereference when using LA...

Even Rouault noreply at github.com
Thu Oct 6 06:04:39 PDT 2022


  Branch: refs/heads/backport-6670-to-branch-7-6
  Home:   https://github.com/MapServer/MapServer
  Commit: 8bcd196175499d88d6d26353b2b8f8a6a234ddf9
      https://github.com/MapServer/MapServer/commit/8bcd196175499d88d6d26353b2b8f8a6a234ddf9
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  msLoadMap(): fix nullptr dereference when using LATLON keyword

As far as I can see, this was broken in the nominal case since
https://github.com/MapServer/MapServer/commit/f595e91f1b418db72b806162dba4470109ac8dc1

So this feature is not used in msautotest, nor documented
(https://mapserver.org/search.html?q=LATLON doesn't return anything
relevant)
Probably that the mapObj::latlon member would be better initialized by taking
the geographic CRS of the mapObj::projection.




More information about the MapServer-commits mailing list