Received: by mail.netbsd.org (Postfix, from userid 605) id 4130B857BE; Wed, 8 Mar 2017 07:14:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C2D44855A1 for ; Wed, 8 Mar 2017 07:14:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 888YKZnMIfzj for ; Wed, 8 Mar 2017 07:14:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2AE1F84CEF for ; Wed, 8 Mar 2017 07:14:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 21233FBE4; Wed, 8 Mar 2017 07:14:12 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 8 Mar 2017 07:14:12 +0000 From: "matthew green" Subject: CVS commit: xsrc/external/mit/xorg-server To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170308071412.21233FBE4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: xsrc Committed By: mrg Date: Wed Mar 8 07:14:12 UTC 2017 Modified Files: xsrc/external/mit/xorg-server/dist: configure.ac xsrc/external/mit/xorg-server/dist/include: dix-config.h.in os.h xsrc/external/mit/xorg-server/dist/os: mitauth.c xsrc/external/mit/xorg-server/include: dix-config.h Added Files: xsrc/external/mit/xorg-server/dist/os: timingsafe_memcmp.c Log Message: apply https://cgit.freedesktop.org/xorg/xserver/commit/?id=d7ac755f0b618eb1259d93c8a16ec6e39a18627c Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES CVE-2017-2624 Provide the function definition for systems that don't have it. Signed-off-by: Matthieu Herrb Reviewed-by: Alan Coopersmith and https://cgit.freedesktop.org/xorg/xserver/commit/?id=5c44169caed811e59a65ba346de1cadb46d266ec os: Squash missing declaration warning for timingsafe_memcmp timingsafe_memcmp.c:21:1: warning: no previous prototype for `timingsafe_memcmp' [-Wmissing-prototypes] timingsafe_memcmp(const void *b1, const void *b2, size_t len) Signed-off-by: Adam Jackson To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xorg-server/dist/configure.ac cvs rdiff -u -r1.1.1.5 -r1.2 \ xsrc/external/mit/xorg-server/dist/include/dix-config.h.in cvs rdiff -u -r1.7 -r1.8 xsrc/external/mit/xorg-server/dist/include/os.h cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server/dist/os/mitauth.c cvs rdiff -u -r0 -r1.1 \ xsrc/external/mit/xorg-server/dist/os/timingsafe_memcmp.c cvs rdiff -u -r1.25 -r1.26 xsrc/external/mit/xorg-server/include/dix-config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.