[mapserver-commits] [MapServer/MapServer] ae706b: msLoadMapContextLayer(): avoid potential double-fr...

Even Rouault noreply at github.com
Thu Jan 11 07:20:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: ae706b8754c42f8c3ba43cbfa6c8436e51016782
      https://github.com/MapServer/MapServer/commit/ae706b8754c42f8c3ba43cbfa6c8436e51016782
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M src/mapcontext.c

  Log Message:
  -----------
  msLoadMapContextLayer(): avoid potential double-free, and avoid (false positive according to my analyzis) CodeQL cpp/no-space-for-terminator


  Commit: 5ac56b13349aa3f698b49b5fab8b3989b0352670
      https://github.com/MapServer/MapServer/commit/5ac56b13349aa3f698b49b5fab8b3989b0352670
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M msautotest/etc/mapserv.conf
    A msautotest/wxs/expected/ows_context_with_layer_list_caps.xml
    M msautotest/wxs/ows_context.map
    A msautotest/wxs/ows_context_with_layer_list.xml

  Log Message:
  -----------
  msautotest: add some testing of msLoadMapContextLayer()


  Commit: 5c86716a00ea826fc78c82a79c291944d35f2f57
      https://github.com/MapServer/MapServer/commit/5c86716a00ea826fc78c82a79c291944d35f2f57
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M src/interpolation.c
    M src/kerneldensity.c
    M src/mapcairo.c
    M src/mapcopy.c
    M src/mapdrawgdal.c
    M src/mapimageio.c
    M src/maplegend.c
    M src/mappostgis.cpp
    M src/maprasterquery.c
    M src/maputfgrid.cpp
    M src/maputil.c

  Log Message:
  -----------
  Fix CodeQL cpp/integer-multiplication-cast-to-long warnings


  Commit: f8cfd0638e624d9354f9b9ab98e7911178d92c8f
      https://github.com/MapServer/MapServer/commit/f8cfd0638e624d9354f9b9ab98e7911178d92c8f
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    A .github/workflows/codeql.yml

  Log Message:
  -----------
  Add CodeQL static analyzer as a CI check


  Commit: 60c79c6e6d5da7b22d2169b003e0b519968eaf24
      https://github.com/MapServer/MapServer/commit/60c79c6e6d5da7b22d2169b003e0b519968eaf24
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    A .github/workflows/codeql.yml
    M msautotest/etc/mapserv.conf
    A msautotest/wxs/expected/ows_context_with_layer_list_caps.xml
    M msautotest/wxs/ows_context.map
    A msautotest/wxs/ows_context_with_layer_list.xml
    M src/interpolation.c
    M src/kerneldensity.c
    M src/mapcairo.c
    M src/mapcontext.c
    M src/mapcopy.c
    M src/mapdrawgdal.c
    M src/mapimageio.c
    M src/maplegend.c
    M src/mappostgis.cpp
    M src/maprasterquery.c
    M src/maputfgrid.cpp
    M src/maputil.c

  Log Message:
  -----------
  Merge pull request #7002 from rouault/codeql

Add CodeQL static analyzer as a CI check, and fix related warnings


Compare: https://github.com/MapServer/MapServer/compare/071e1a31aa73...60c79c6e6d5d


More information about the MapServer-commits mailing list