]> git.ipfire.org Git - thirdparty/systemd.git/commit
dbus-manager: limit the number of states/patterns per query (#41891)
authorLennart Poettering <lennart@amutable.com>
Mon, 4 May 2026 08:07:04 +0000 (10:07 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 08:07:04 +0000 (10:07 +0200)
commit78c66e8624f778ba34d7a5565fe228bf2bcb658c
treec82fcabc2dfe61ce587c1201b379df9d1311fd04
parent5580db885c08b45bec5f665cbb0b114fa2538736
parent49c1e1bcf2b482b6de35a4212a06ed1d8c382745
dbus-manager: limit the number of states/patterns per query (#41891)

Let's cap the number of states/patterns per query to something
reasonable, i.e. max 256 states and 4K patterns per query.

---

Also, use the env assignments limit in a couple more places.
src/core/dbus-manager.c
src/core/manager.h