summaryrefslogtreecommitdiff
path: root/libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 17:27:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 22:59:50 -0300
commit607dae3919672d68ed0d14e6db5e636724d783fc (patch)
tree00a9da0d3d89fbed71f2d429b42a20859d0f3584 /libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch
parente9765cea3f9ad93d05cd6c9a9a6b6ec17200e777 (diff)
downloadabslibre-607dae3919672d68ed0d14e6db5e636724d783fc.tar.gz
abslibre-607dae3919672d68ed0d14e6db5e636724d783fc.tar.bz2
abslibre-607dae3919672d68ed0d14e6db5e636724d783fc.zip
xorg-server-1.17.2-1.parabola1: updating version
Diffstat (limited to 'libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch')
-rw-r--r--libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch b/libre/xorg-server/os-access-fix-regression-in-server-interpreted-auth.patch
deleted file mode 100644
index b96bb7a31..000000000
--- a/libre/xorg-server/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;
- }
-