[mapserver-commits] [MapServer/MapServer] 411e46: mapcontext: fix out-of-bounds read on short Boundi...
Naveed
noreply at github.com
Sun Sep 6 03:07:09 PDT 2026
Branch: refs/heads/backport-7642-to-branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: 411e46c9cab36cfa6f43bb2956a40b6b787117f5
https://github.com/MapServer/MapServer/commit/411e46c9cab36cfa6f43bb2956a40b6b787117f5
Author: Naveed <naveed at bugqore.com>
Date: 2026-09-06 (Sun, 06 Sep 2026)
Changed paths:
A msautotest/wxs/expected/ows_context_bad_srs_caps.xml
M msautotest/wxs/ows_context.map
A msautotest/wxs/ows_context_bad_srs.xml
M src/mapcontext.c
Log Message:
-----------
mapcontext: fix out-of-bounds read on short BoundingBox SRS
The General.BoundingBox.SRS value from a Web Map Context document was
only checked against the "AUTO:" prefix before stripping 5 bytes with
pszValue + 5, so an SRS shorter than the assumed "EPSG:" prefix read
past the end of the value. Strip only when the value starts with
"EPSG:", otherwise pass it through unchanged.
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