summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Config.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-15 17:53:50 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-16 11:44:08 +1000
commit139368f7ae192b592e24d013e8ca5ce4175effe1 (patch)
treea31c5bd7a48e529c58d849984dd7d988c23cc4a7 /hw/xfree86/common/xf86Config.c
parent13decf5efe76e735a003227c951e58a41e36a8b5 (diff)
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>
Diffstat (limited to 'hw/xfree86/common/xf86Config.c')
0 files changed, 0 insertions, 0 deletions