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 12:27:20 +0100 |
commit | 5bc7f9519ebc6117ba300c704794b36b87c2194b (patch) | |
tree | b2a0d4036a8851cf4e23fa39bb89c7d6d821ae5d | |
parent | 900011a26816c7cc84f0a8b502eea6c4301823d0 (diff) | |
download | dbus-5bc7f9519ebc6117ba300c704794b36b87c2194b.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>
-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 a6a8e1cf..7217531c 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -467,7 +467,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; |