From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD7FE13888F for ; Sat, 17 Oct 2015 10:08:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59DF721C006; Sat, 17 Oct 2015 10:08:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C74521C006 for ; Sat, 17 Oct 2015 10:08:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0F5234070A for ; Sat, 17 Oct 2015 10:08:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F36181151 for ; Sat, 17 Oct 2015 10:08:20 +0000 (UTC) From: "Jauhien Piatlicki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jauhien Piatlicki" Message-ID: <1445076818.e496c6a3a3ea5b91f27bf95fbd3e23e37ae1de66.jauhien@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/files/, x11-misc/sddm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/sddm/files/sddm-0.11.0-CVE-2015-0856.patch x11-misc/sddm/sddm-0.11.0-r4.ebuild X-VCS-Directories: x11-misc/sddm/files/ x11-misc/sddm/ X-VCS-Committer: jauhien X-VCS-Committer-Name: Jauhien Piatlicki X-VCS-Revision: e496c6a3a3ea5b91f27bf95fbd3e23e37ae1de66 X-VCS-Branch: master Date: Sat, 17 Oct 2015 10:08:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9a26b5ec-e6d2-42b8-a829-200601090221 X-Archives-Hash: 8d8ad77a616090bfdc8250c8c0ef40eb commit: e496c6a3a3ea5b91f27bf95fbd3e23e37ae1de66 Author: Jauhien Piatlicki gentoo org> AuthorDate: Sat Oct 17 09:57:48 2015 +0000 Commit: Jauhien Piatlicki gentoo org> CommitDate: Sat Oct 17 10:13:38 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e496c6a3 x11-misc/sddm: fix CVE-2015-0856 patch for version 0.11.0 Package-Manager: portage-2.2.23 x11-misc/sddm/files/sddm-0.11.0-CVE-2015-0856.patch | 15 +++++++++++++++ x11-misc/sddm/sddm-0.11.0-r4.ebuild | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/x11-misc/sddm/files/sddm-0.11.0-CVE-2015-0856.patch b/x11-misc/sddm/files/sddm-0.11.0-CVE-2015-0856.patch new file mode 100644 index 0000000..37c1b97 --- /dev/null +++ b/x11-misc/sddm/files/sddm-0.11.0-CVE-2015-0856.patch @@ -0,0 +1,15 @@ +Fix for CVE-2015-0856 (bug 563108) backported from the version 0.12.0. +--- src/daemon/Greeter.cpp ++++ src/daemon/Greeter.cpp +@@ -135,6 +135,11 @@ + env.insert("XDG_VTNR", QString::number(m_display->terminalId())); + env.insert("XDG_SESSION_CLASS", "greeter"); + env.insert("XDG_SESSION_TYPE", m_display->sessionType()); ++ ++ //some themes may use KDE components and that will automatically load KDE's crash handler which we don't want ++ //counterintuitively setting this env disables that handler ++ env.insert("KDE_DEBUG", "1"); ++ + m_auth->insertEnvironment(env); + + // log message diff --git a/x11-misc/sddm/sddm-0.11.0-r4.ebuild b/x11-misc/sddm/sddm-0.11.0-r4.ebuild index 6c5dac9..50cbf07 100644 --- a/x11-misc/sddm/sddm-0.11.0-r4.ebuild +++ b/x11-misc/sddm/sddm-0.11.0-r4.ebuild @@ -39,7 +39,7 @@ src_prepare() { use consolekit && epatch "${FILESDIR}/${P}-consolekit.patch" use !systemd && epatch "${FILESDIR}/${PN}-0.10.0-upower.patch" # fix bug 552318 and bug 563108 - epatch "${FILESDIR}/${P}-dbus-config.patch" "${FILESDIR}/${PN}-0.12.0-CVE-2015-0856.patch" + epatch "${FILESDIR}/${P}-dbus-config.patch" "${FILESDIR}/${P}-CVE-2015-0856.patch" # respect user's cflags sed -e 's|-Wall -march=native||' \