[mapserver-commits] [MapServer/MapServer] f071dc: loadClass(): better fix for class->styles[] mem-leak

Even Rouault noreply at github.com
Wed Oct 5 03:31:09 PDT 2022


  Branch: refs/heads/backport-6658-to-branch-7-6
  Home:   https://github.com/MapServer/MapServer
  Commit: f071dca3ae64b01b5109144c8252696807a7cef8
      https://github.com/MapServer/MapServer/commit/f071dca3ae64b01b5109144c8252696807a7cef8
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  loadClass(): better fix for class->styles[] mem-leak

Improved fix of https://github.com/MapServer/MapServer/pull/6651
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52107


  Commit: 67ec093541c15cec2ffd1c7e94ca03d26cbec03e
      https://github.com/MapServer/MapServer/commit/67ec093541c15cec2ffd1c7e94ca03d26cbec03e
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  mapfile.c: fix very likely memory leaks in error code paths after call to msGrowXXXX() functions


Compare: https://github.com/MapServer/MapServer/compare/f071dca3ae64%5E...67ec093541c1


More information about the MapServer-commits mailing list