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

Jeff McKenna noreply at github.com
Thu Oct 6 12:28:59 PDT 2022


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


  Commit: b1d71b3fcba819b568d27149c8ea06fe8edf34dc
      https://github.com/MapServer/MapServer/commit/b1d71b3fcba819b568d27149c8ea06fe8edf34dc
  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 #6680 from MapServer/backport-6670-to-branch-7-6

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


Compare: https://github.com/MapServer/MapServer/compare/f42b3c345db5...b1d71b3fcba8


More information about the MapServer-commits mailing list