[mapserver-commits] [MapServer/MapServer] df2449: size msClipPolygonRect buffer for 3 emitted points...
Naveed
noreply at github.com
Mon Aug 3 03:13:08 PDT 2026
Branch: refs/heads/backport-7577-to-branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: df2449c8e64898740995029973542681813b109a
https://github.com/MapServer/MapServer/commit/df2449c8e64898740995029973542681813b109a
Author: Naveed <naveed at bugqore.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M src/mapprimitive.cpp
Log Message:
-----------
size msClipPolygonRect buffer for 3 emitted points per edge
Commit: e5b65db13c2e3e5d76caf5a9ad446a05e1da3ab6
https://github.com/MapServer/MapServer/commit/e5b65db13c2e3e5d76caf5a9ad446a05e1da3ab6
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
Log Message:
-----------
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().
Compare: https://github.com/MapServer/MapServer/compare/df2449c8e648%5E...e5b65db13c2e
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