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

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


  Branch: refs/heads/backport-6670-to-branch-8-0
  Home:   https://github.com/MapServer/MapServer
  Commit: 53dff44c872c7e4d7046461030ba765579a519ef
      https://github.com/MapServer/MapServer/commit/53dff44c872c7e4d7046461030ba765579a519ef
  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