[mapserver-commits] [MapServer/MapServer] a74286: mapcontext: fix out-of-bounds read on short Boundi...
Naveed
noreply at github.com
Sun Sep 6 03:06:54 PDT 2026
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: a74286adb2690f1ee9fadc76307b35761d467d38
https://github.com/MapServer/MapServer/commit/a74286adb2690f1ee9fadc76307b35761d467d38
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 (#7642)
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