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

Jeff McKenna noreply at github.com
Thu Oct 6 12:29:56 PDT 2022


  Branch: refs/heads/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.


  Commit: 323b67617ce7905b9ddcde59892f57a211efdb95
      https://github.com/MapServer/MapServer/commit/323b67617ce7905b9ddcde59892f57a211efdb95
  Author: Jeff McKenna <jmckenna at gatewaygeomatics.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  Merge pull request #6682 from MapServer/backport-6670-to-branch-8-0

[Backport branch-8-0] msLoadMap(): fix nullptr dereference when using LATLON keyword


Compare: https://github.com/MapServer/MapServer/compare/2fa307d36f2b...323b67617ce7


More information about the MapServer-commits mailing list