[mapserver-commits] [MapServer/MapServer] 509ad6: mapogcfilter: limit filter operation count (#7621)
github-actions[bot]
noreply at github.com
Fri Aug 28 14:48:41 PDT 2026
Branch: refs/heads/branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: 509ad65e61d5c238a67a3b2763d766e657bc5243
https://github.com/MapServer/MapServer/commit/509ad65e61d5c238a67a3b2763d766e657bc5243
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M msautotest/wxs/wms_filter.map
M src/mapogcfilter.cpp
Log Message:
-----------
mapogcfilter: limit filter operation count (#7621)
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.
Co-authored-by: sdjasj <1594576288 at qq.com>
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