mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xace: forgot one of the hook call arguments. Add it.
This commit is contained in:
@@ -731,7 +731,8 @@ CreateWindow(Window wid, WindowPtr pParent, int x, int y, unsigned w,
|
||||
|
||||
/* security creation/labeling check
|
||||
*/
|
||||
if (!XaceHook(XACE_RESOURCE_ACCESS, wid, RT_WINDOW, DixCreateAccess, pWin))
|
||||
if (!XaceHook(XACE_RESOURCE_ACCESS, client,
|
||||
wid, RT_WINDOW, DixCreateAccess, pWin))
|
||||
{
|
||||
xfree(pWin);
|
||||
*error = BadAccess;
|
||||
|
||||
Reference in New Issue
Block a user