[mapserver-commits] [MapServer/MapServer] 40624a: size msClipPolygonRect buffer for 3 emitted points...
Naveed
noreply at github.com
Mon Aug 3 03:12:52 PDT 2026
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: 40624a2b48fec104ab252542347eba870fe96717
https://github.com/MapServer/MapServer/commit/40624a2b48fec104ab252542347eba870fe96717
Author: Naveed <naveed at bugqore.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:
-----------
size msClipPolygonRect buffer for 3 emitted points per edge (#7577)
* 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().
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