[mapserver-commits] [MapServer/MapServer] 3d6ef7: [Backport branch-8-6] size msClipPolygonRect buffe...

github-actions[bot] noreply at github.com
Mon Aug 3 07:06:47 PDT 2026


  Branch: refs/heads/branch-8-6
  Home:   https://github.com/MapServer/MapServer
  Commit: 3d6ef77735c61fe43dc23a9266eb9db0dfe92ce1
      https://github.com/MapServer/MapServer/commit/3d6ef77735c61fe43dc23a9266eb9db0dfe92ce1
  Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    A msautotest/misc/clip_polygon_corners.map
    A msautotest/misc/expected/clip_polygon_corners.png
    M src/mapprimitive.cpp

  Log Message:
  -----------
  [Backport branch-8-6] size msClipPolygonRect buffer for 3 emitted points per edge (#7588)

* size msClipPolygonRect buffer for 3 emitted points per edge

* add msautotest case for polygon clipping at the rect corners

Two inline rings whose edges cut across the corners of the clip rectangle,
so a single edge emits three points and the clipped rings come out at 14 and
16 points from 6 and 7. Against the previous 2*numpoints allocation this
aborts under ASAN in msDrawShape().

---------

Co-authored-by: Naveed <naveed at bugqore.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list