diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-27 01:45:27 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-27 01:45:27 +0000 |
commit | 377b494577a924ee1621177933bee4bb5cc27fff (patch) | |
tree | a4059c12242ef7cc012d06d97abba15ef0acf70b /include | |
parent | d8673a80bc32fca0a498a17baffaa33338266dc7 (diff) |
Fixes for running X Test Suite via lbxproxy:XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901
- Failure for Xproto/GetProperty [Sun bug #4432077]
- lbxproxy crash on Xlib5/XGetWindowProperty [Sun bug #4416964]
- lbxproxy crash on Xlib7/XCreateColormap-10 [Sun bug #4431077]
- lbxproxy crash on Xproto tests for bad length [Sun bug #4414232] (Derek
Wang - Sun Microsystems)
Diffstat (limited to 'include')
-rw-r--r-- | include/misc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/misc.h b/include/misc.h index 3ead872..3b7ee48 100644 --- a/include/misc.h +++ b/include/misc.h @@ -1,4 +1,5 @@ /* $Xorg: misc.h,v 1.4 2001/02/09 02:05:32 xorgcvs Exp $ */ +/* $XdotOrg: $ */ /* @@ -111,4 +112,8 @@ extern int MaxClients; #define REQUEST(type) \ register type *stuff = (type *)client->requestBuffer +#define REQUEST_SIZE_MATCH(req) \ + if ((sizeof(req) >> 2) != client->req_len) \ + return (BadLength) + #endif |