Module Name: xsrc
Committed By: mrg
Date: Wed Mar 8 07:31:42 UTC 2017
Modified Files:
xsrc/external/mit/xorg-server.old/dist/include: dix-config.h.in os.h
xsrc/external/mit/xorg-server.old/dist/os: mitauth.c
xsrc/external/mit/xorg-server.old/include: dix-config.h
Added Files:
xsrc/external/mit/xorg-server.old/dist/os: timingsafe_memcmp.c
Log Message:
port to xorg-server 1.10:
--
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 <[email protected]>
Reviewed-by: Alan Coopersmith <[email protected]>
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 <[email protected]>
--
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/xorg-server.old/dist/include/dix-config.h.in \
xsrc/external/mit/xorg-server.old/dist/include/os.h
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server.old/dist/os/mitauth.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/xorg-server.old/dist/os/timingsafe_memcmp.c
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/xorg-server.old/include/dix-config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.