Unverified Commit 18630e5d authored by Mihai Moldovan's avatar Mihai Moldovan

Merge branch 'sunweaver-pr/saver-unvalidated-lengths-ProcScreenSaverUnsetAttributes' into 3.6.x

parents f3231601 7017c22c
...@@ -1342,6 +1342,8 @@ ProcScreenSaverUnsetAttributes (ClientPtr client) ...@@ -1342,6 +1342,8 @@ ProcScreenSaverUnsetAttributes (ClientPtr client)
PanoramiXRes *draw; PanoramiXRes *draw;
int i; int i;
REQUEST_SIZE_MATCH(xScreenSaverUnsetAttributesReq);
if(!(draw = (PanoramiXRes *)SecurityLookupIDByClass( if(!(draw = (PanoramiXRes *)SecurityLookupIDByClass(
client, stuff->drawable, XRC_DRAWABLE, DixWriteAccess))) client, stuff->drawable, XRC_DRAWABLE, DixWriteAccess)))
return BadDrawable; return BadDrawable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment