diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-01-26 20:02:20 -0800 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-14 16:14:32 +0100 |
commit | c12a473f29cfadb62d38b0fffc36762d8e626676 (patch) | |
tree | 6b099f851314b1d8b78960aaf6bbb6ce85f883ba /nx-X11/programs/Xserver | |
parent | 9c3842a4f72b4cca28ac1d5c14441787c7dd6e6a (diff) | |
download | nx-libs-c12a473f29cfadb62d38b0fffc36762d8e626676.tar.gz nx-libs-c12a473f29cfadb62d38b0fffc36762d8e626676.tar.bz2 nx-libs-c12a473f29cfadb62d38b0fffc36762d8e626676.zip |
xfixes: unvalidated length in SProcXFixesSelectSelectionInput [CVE-2014-8102]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
v2: backport to nx-libs 3.6.x (Mike DePaulo)
Conflicts:
xfixes/select.c
Diffstat (limited to 'nx-X11/programs/Xserver')
-rwxr-xr-x | nx-X11/programs/Xserver/xfixes/select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/xfixes/select.c b/nx-X11/programs/Xserver/xfixes/select.c index c72e19e9a..4b8bd01ed 100755 --- a/nx-X11/programs/Xserver/xfixes/select.c +++ b/nx-X11/programs/Xserver/xfixes/select.c @@ -216,6 +216,7 @@ SProcXFixesSelectSelectionInput (ClientPtr client) register int n; REQUEST(xXFixesSelectSelectionInputReq); + REQUEST_SIZE_MATCH(xXFixesSelectSelectionInputReq); swaps(&stuff->length, n); swapl(&stuff->window, n); swapl(&stuff->selection, n); |