mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 18:30:34 +01:00
Fix for CVE-2007-5958 - File existence disclosure.
(cherry picked from commit 19b95cdd1d)
This commit is contained in:
parent
73abb373e6
commit
ca82f294fc
1 changed files with 3 additions and 3 deletions
|
|
@ -1567,9 +1567,9 @@ SecurityLoadPropertyAccessList(void)
|
|||
return;
|
||||
|
||||
#ifndef __UNIXOS2__
|
||||
f = fopen(SecurityPolicyFile, "r");
|
||||
f = Fopen(SecurityPolicyFile, "r");
|
||||
#else
|
||||
f = fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
|
||||
f = Fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
|
||||
#endif
|
||||
if (!f)
|
||||
{
|
||||
|
|
@ -1653,7 +1653,7 @@ SecurityLoadPropertyAccessList(void)
|
|||
}
|
||||
#endif /* PROPDEBUG */
|
||||
|
||||
fclose(f);
|
||||
Fclose(f);
|
||||
} /* SecurityLoadPropertyAccessList */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue