Advertisement
Guest User

Untitled

a guest
May 28th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. diff --git a/dix/window.c b/dix/window.c
  2. index 00854c6..cd904fb 100644
  3. --- a/dix/window.c
  4. +++ b/dix/window.c
  5. @@ -2159,7 +2159,7 @@ ConfigureWindow(WindowPtr pWin, Mask mask, XID *vlist, ClientPtr client)
  6. GET_INT16(CWY, y);
  7. GET_CARD16(CWWidth, w);
  8. GET_CARD16 (CWHeight, h);
  9. - if (!w || !h)
  10. + if (!w || !h || w > 32767 || h > 32767)
  11. {
  12. client->errorValue = 0;
  13. return BadValue;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement