SOURCES: xorg-xserver-server-tun.patch (NEW) - check saddr before ...

wiget wiget at pld-linux.org
Wed Mar 15 12:56:02 CET 2006


Author: wiget                        Date: Wed Mar 15 11:56:02 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- check saddr before use, fixes sig11 on tun intefaces

---- Files affected:
SOURCES:
   xorg-xserver-server-tun.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xorg-xserver-server-tun.patch
diff -u /dev/null SOURCES/xorg-xserver-server-tun.patch:1.1
--- /dev/null	Wed Mar 15 12:56:02 2006
+++ SOURCES/xorg-xserver-server-tun.patch	Wed Mar 15 12:55:56 2006
@@ -0,0 +1,11 @@
+--- xorg-server-1.0.1/os/access.c.wiget	2006-03-15 11:47:11.000000000 +0100
++++ xorg-server-1.0.1/os/access.c	2006-03-15 11:51:43.000000000 +0100
+@@ -1856,6 +1856,8 @@
+     int				*len,
+     pointer			*addr)
+ {
++	if (saddr == NULL)
++		return -1;
+     if (*len == 0)
+         return (FamilyLocal);
+     switch (saddr->sa_family)
================================================================


More information about the pld-cvs-commit mailing list