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 <matth...@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> 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 <a...@redhat.com> 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.