File xorg-server-1.6.5-CVE-2011-4028.patch of Package xorg-x11-server
diff -up os/utils.c.orig-4028 os/utils.c
--- os/utils.c.orig-4028	2009-10-12 04:52:40.000000000 +0200
+++ os/utils.c	2011-10-29 21:09:44.159654739 +0200
@@ -336,7 +336,7 @@ LockServer(void)
       /*
        * Read the pid from the existing file
        */
-      lfd = open(LockFile, O_RDONLY);
+      lfd = open(LockFile, O_RDONLY | O_NOFOLLOW);
       if (lfd < 0) {
         unlink(tmp);
         FatalError("Can't read lock file %s\n", LockFile);