From: Alban Crequy Date: Tue, 8 Jul 2014 11:00:58 +0000 (+0100) Subject: config: change default auth_timeout to 5 seconds X-Git-Tag: dbus-1.10.6~69^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54d26df52b6a394bea175651d1d7ad2ab3f87dea;p=platform%2Fupstream%2Fdbus.git config: change default auth_timeout to 5 seconds This partially addresses CVE-2014-3639. This will change the default on the system bus where the limit ... is not specified. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=80919 Reviewed-by: Thiago Macieira Reviewed-by: Simon McVittie --- diff --git a/bus/config-parser.c b/bus/config-parser.c index 7217531..814725a 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -438,7 +438,7 @@ bus_config_parser_new (const DBusString *basedir, * and legitimate auth will fail. If interactive auth (ask user for * password) is allowed, then potentially it has to be quite long. */ - parser->limits.auth_timeout = 30000; /* 30 seconds */ + parser->limits.auth_timeout = 5000; /* 5 seconds */ parser->limits.max_incomplete_connections = 64; parser->limits.max_connections_per_user = 256;