[mapserver-commits] [MapServer/MapServer] 9adf75: mapogcfilter: limit filter operation count
Zhen Yan
noreply at github.com
Thu Aug 27 06:37:56 PDT 2026
Branch: refs/heads/backport-7603-to-branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: 9adf75198307c74ff7c69bf9e1520d591e3a4a3b
https://github.com/MapServer/MapServer/commit/9adf75198307c74ff7c69bf9e1520d591e3a4a3b
Author: sdjasj <1594576288 at qq.com>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M msautotest/wxs/wms_filter.map
M src/mapogcfilter.cpp
Log Message:
-----------
mapogcfilter: limit filter operation count
Reject filters with more than 256 operations before converting logical operands into a right-deep binary tree. This keeps recursive validation, expression generation, and cleanup within a bounded stack depth.
Add a WMS GetMap regression test that verifies an oversized Or filter returns InvalidParameterValue without crashing.
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