diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2014-07-10 15:08:06 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-09-15 19:17:49 +0100 |
commit | 6060aaa0ea1e9bbe1dd7a1864c8df52e333a45ee (patch) | |
tree | 04a966b9b5fe7681928d9b340e9c5954f19b82f5 | |
parent | 5ee4cede9f5196e682316249797ae8835b825a0d (diff) | |
download | dbus-6060aaa0ea1e9bbe1dd7a1864c8df52e333a45ee.tar.gz |
system bus limit: use max_replies_per_connection=128 by default
This addresses CVE-2014-3638.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=81053
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
(cherry picked from commit 5bc7f9519ebc6117ba300c704794b36b87c2194b)
-rw-r--r-- | bus/config-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/config-parser.c b/bus/config-parser.c index 07e8fbb6..e4a02628 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -456,7 +456,7 @@ bus_config_parser_new (const DBusString *basedir, /* this is effectively a limit on message queue size for messages * that require a reply */ - parser->limits.max_replies_per_connection = 1024*8; + parser->limits.max_replies_per_connection = 128; } parser->refcount = 1; |