File xorg-server-1.5.2-CVE-2011-4028.patch of Package xorg-x11-server
diff -up os/utils.c.orig-4028 os/utils.c --- os/utils.c.orig-4028 2008-10-10 20:12:49.000000000 +0200 +++ os/utils.c 2011-10-29 19:47:51.237093385 +0200 @@ -417,7 +417,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);