[mapserver-commits] [MapServer/MapServer] ee1d95: loadLayerCompositer(): fix memleak in error code p...

Even Rouault noreply at github.com
Mon Mar 20 10:02:36 PDT 2023


  Branch: refs/heads/backport-6850-to-branch-8-0
  Home:   https://github.com/MapServer/MapServer
  Commit: ee1d9503e751f28eb6695fba2ec0a221e11043ae
      https://github.com/MapServer/MapServer/commit/ee1d9503e751f28eb6695fba2ec0a221e11043ae
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  loadLayerCompositer(): fix memleak in error code paths

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57261

The manual cleanup that was done was incomplete (it should have called
freeCompositingFilter()), and it is actually useless as the caller
loadLayer() takes care of cleaning.




More information about the MapServer-commits mailing list