diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-06-16 22:10:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-06-16 22:10:58 +0200 |
commit | 999123911f4abee33971574a2966e10c526d4da5 (patch) | |
tree | 466e0bbf035b188e7fa14abda5e075e69e9a59ef /xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch | |
parent | migrating to aur4 (diff) | |
download | aur-packages-999123911f4abee33971574a2966e10c526d4da5.tar.gz aur-packages-999123911f4abee33971574a2966e10c526d4da5.tar.bz2 aur-packages-999123911f4abee33971574a2966e10c526d4da5.tar.xz |
update xorg-server-hwcursor-gamma
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch')
-rw-r--r-- | xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch b/xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch deleted file mode 100644 index b96bb7a..0000000 --- a/xorg-server-hwcursor-gamma/os-access-fix-regression-in-server-interpreted-auth.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/os/access.c b/os/access.c -index 28f2d32..fe6e831 100644 ---- a/os/access.c -+++ b/os/access.c -@@ -1390,14 +1390,23 @@ InvalidHost(register struct sockaddr *saddr, int len, ClientPtr client) - else - return 0; - } -+ -+ /* An empty address requires both a NULL addr *and* a zero length -+ * as the address comparison functions call memcmp with both -+ * parameters. Make sure they agree here -+ */ -+ if (addr == NULL) -+ len = 0; -+ if (len == 0) -+ addr = NULL; - for (host = validhosts; host; host = host->next) { - if (host->family == FamilyServerInterpreted) { -- if (addr && siAddrMatch(family, addr, len, host, client)) { -+ if (siAddrMatch(family, addr, len, host, client)) { - return 0; - } - } - else { -- if (addr && addrEqual(family, addr, len, host)) -+ if (addrEqual(family, addr, len, host)) - return 0; - } - |