[mapserver-commits] [MapServer/MapServer] 2f88fc: mapogcfilter: limit filter operation count (#7603)
Zhen Yan
noreply at github.com
Thu Aug 27 06:37:40 PDT 2026
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: 2f88fcd2202ebd643350b63ffad1259b8cc2bbe8
https://github.com/MapServer/MapServer/commit/2f88fcd2202ebd643350b63ffad1259b8cc2bbe8
Author: Zhen Yan <89853352+sdjasj at users.noreply.github.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 (#7603)
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