forked from pool/xorg-x11-server
Egbert Eich
7286d85738
* N_0001-Check-harder-for-primary-PCI-device.patch Whith libpciaccess code path irrelevant for Linux. * N_0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch Solved differently upstream * N_bug-197858_dpms.diff This one is upstream already - apparently nobody check this when it no longer applied... * N_bug534768-prefer_local_symbols.patch Upstream has a better suggestion how to solve this. However this patch is no longer needed * N_dpms_screensaver.diff This topic was solved slightly differently upstream - still patch got ported without checking it's context. * N_randr1_1-sig11.diff No longer needed. Problem was fixed differently upstream. * u_vgaHW-no-legacy.patch Problem solved in the nv driver. - Renamed: Those patches will go upstream, thus they are prefixed by a u_: * n__confine_to_shape.diff -> u_confine_to_shape.diff * N_fbdevhw.diff -> u_fbdevhw.diff * n_x86emu-include-order.patch -> u_x86emu-include-order.patch * N_xorg-server-xdmcp.patchA -> u_xorg-server-xdmcp.patch Those patches no longer apply but are kept for reference thus prefixed by b_: * N_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch -> b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch * N_cache-xkbcomp-output-for-fast-start-up.patch -> b_cache-xkbcomp-output-for-fast-start-up.patch * N_sync-fix.patch -> b_sync-fix.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=478
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
Index: xorg-server-1.12.1/os/access.c
|
|
===================================================================
|
|
--- xorg-server-1.12.1.orig/os/access.c
|
|
+++ xorg-server-1.12.1/os/access.c
|
|
@@ -714,7 +714,9 @@ DefineSelf(int fd)
|
|
|
|
/*
|
|
* ignore 'localhost' entries as they're not useful
|
|
- * on the other end of the wire
|
|
+ * on the other end of the wire and because on hosts
|
|
+ * with shared home dirs they'll result in conflicting
|
|
+ * entries in ~/.Xauthority
|
|
*/
|
|
if (ifr->ifa_flags & IFF_LOOPBACK)
|
|
continue;
|
|
@@ -735,6 +737,14 @@ DefineSelf(int fd)
|
|
else if (family == FamilyInternet6 &&
|
|
IN6_IS_ADDR_LOOPBACK((struct in6_addr *) addr))
|
|
continue;
|
|
+
|
|
+ /* Ignore IPv6 link local addresses (fe80::/10), because
|
|
+ * they need a scope identifier, which we have no way
|
|
+ * of telling to the other end.
|
|
+ */
|
|
+ if (family == FamilyInternet6 &&
|
|
+ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr))
|
|
+ continue;
|
|
#endif
|
|
XdmcpRegisterConnection(family, (char *) addr, len);
|
|
#if defined(IPv6) && defined(AF_INET6)
|