diff options
author | Mihai Moldovan <ionic@ionic.de> | 2018-03-07 21:55:36 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-03-07 21:55:36 +0100 |
commit | 18630e5dd8bb1a5da0abf0021894c1a36f785f2e (patch) | |
tree | c9fe57a24e6ad6fd1e2cf27184f24f2f8488e1e4 /nx-X11 | |
parent | f3231601be0b83051c0c2732120a8f9f72e616d9 (diff) | |
parent | 7017c22c2b5dcacc8e337029f7ed82f4bcafb819 (diff) | |
download | nx-libs-18630e5dd8bb1a5da0abf0021894c1a36f785f2e.tar.gz nx-libs-18630e5dd8bb1a5da0abf0021894c1a36f785f2e.tar.bz2 nx-libs-18630e5dd8bb1a5da0abf0021894c1a36f785f2e.zip |
Merge branch 'sunweaver-pr/saver-unvalidated-lengths-ProcScreenSaverUnsetAttributes' into 3.6.x
Attributes GH PR #672: https://github.com/ArcticaProject/nx-libs/pull/672
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/saver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/Xext/saver.c b/nx-X11/programs/Xserver/Xext/saver.c index 0b79a002b..89eebd7b1 100644 --- a/nx-X11/programs/Xserver/Xext/saver.c +++ b/nx-X11/programs/Xserver/Xext/saver.c @@ -1342,6 +1342,8 @@ ProcScreenSaverUnsetAttributes (ClientPtr client) PanoramiXRes *draw; int i; + REQUEST_SIZE_MATCH(xScreenSaverUnsetAttributesReq); + if(!(draw = (PanoramiXRes *)SecurityLookupIDByClass( client, stuff->drawable, XRC_DRAWABLE, DixWriteAccess))) return BadDrawable; |