summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2014-07-10 15:08:06 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-09-15 12:27:20 +0100
commit5bc7f9519ebc6117ba300c704794b36b87c2194b (patch)
treeb2a0d4036a8851cf4e23fa39bb89c7d6d821ae5d
parent900011a26816c7cc84f0a8b502eea6c4301823d0 (diff)
downloaddbus-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.c2
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;