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

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


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: ed5a0c1e18276232fa8f2882de9cdfac4f8480e4
      https://github.com/MapServer/MapServer/commit/ed5a0c1e18276232fa8f2882de9cdfac4f8480e4
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-05 (Wed, 05 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: 83c7055368f4faf27892d9bbe60848859a1ec0dd
      https://github.com/MapServer/MapServer/commit/83c7055368f4faf27892d9bbe60848859a1ec0dd
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  Merge pull request #6670 from rouault/fix_ossfuzz_52149

msLoadMap(): fix nullptr dereference when using LATLON keyword


Compare: https://github.com/MapServer/MapServer/compare/9684fc3c64a2...83c7055368f4


More information about the MapServer-commits mailing list