1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## fix_CVE-2007-5958.dpatch by Kees Cook <kees@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad xorg-server-1.0.2~/Xext/security.c xorg-server-1.0.2/Xext/security.c
9
--- xorg-server-1.0.2~/Xext/security.c 2005-07-03 00:01:04.000000000 -0700
10
+++ xorg-server-1.0.2/Xext/security.c 2008-01-17 11:27:31.000000000 -0800
15
- f = fopen(SecurityPolicyFile, "r");
16
+ f = Fopen(SecurityPolicyFile, "r");
18
- f = fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
19
+ f = Fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
25
#endif /* PROPDEBUG */
29
} /* SecurityLoadPropertyAccessList */