[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-commits
Subject:    [mapserver-commits] [MapServer/MapServer] f0a85e: loadLayerCompositer(): fix memleak in error code p
From:       Even Rouault <noreply () github ! com>
Date:       2023-03-20 17:02:11
Message-ID: MapServer/MapServer/push/refs/heads/main/584f37-eaa4cb () github ! com
[Download RAW message or body]

  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: f0a85e276babcbe8af9390b26bce2d8adf64d7df
      https://github.com/MapServer/MapServer/commit/f0a85e276babcbe8af9390b26bce2d8adf64d7df
  Author: Even Rouault <even.rouault@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.


  Commit: eaa4cbf197bb902099961f4136107724286c2b33
      https://github.com/MapServer/MapServer/commit/eaa4cbf197bb902099961f4136107724286c2b33
  Author: Even Rouault <even.rouault@spatialys.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  Merge pull request #6850 from rouault/loadLayerCompositer_ossfuzz_57261

loadLayerCompositer(): fix memleak in error code paths


Compare: https://github.com/MapServer/MapServer/compare/584f37760fd9...eaa4cbf197bb
_______________________________________________
MapServer-commits mailing list
MapServer-commits@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic