xserver-multidpi/test/xi2
Alan Coopersmith 139368f7ae Fix num_masks/length overflow test for XiSelectEvents
Have to set windowid to a valid value first, since that check
appears earlier in the code than the masks/length check.

Also have to have data[] set large enough so that reading mask
data for 0xFFFF masks doesn't overflow past the end of the array
into uninitialized data.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-16 11:44:08 +10:00
..
Makefile.am test: add protocol testing for XIWarpPointer. 2009-09-03 11:00:54 +10:00
protocol-common.c Remove stray semi-colon in protocol-common.c 2009-09-16 11:04:25 +10:00
protocol-common.h test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-eventconvert.c test_convert_XIRawEvent: Don't write more data than the struct holds 2009-09-16 11:04:25 +10:00
protocol-xigetclientpointer.c test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-xigetselectedevents.c test: add ProcXIGetSelectedEvents tests. 2009-07-14 11:41:29 +10:00
protocol-xiquerydevice.c test: add ProcXIQueryDevice tests. 2009-07-14 11:41:28 +10:00
protocol-xiquerypointer.c test: add XIQueryPointer protocol tests. 2009-08-24 10:08:14 +10:00
protocol-xiqueryversion.c test: Add ProcXIQueryVersion tests. 2009-07-14 11:41:28 +10:00
protocol-xiselectevents.c Fix num_masks/length overflow test for XiSelectEvents 2009-09-16 11:44:08 +10:00
protocol-xisetclientpointer.c test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-xiwarppointer.c test: add protocol testing for XIWarpPointer. 2009-09-03 11:00:54 +10:00