xserver/hw
Alan Coopersmith 62e2aa02ef dri2: better checks for integer overflow in GetBuffers*
Check for integer overflow before using stuff->count in a multiplication,
to avoid compiler optimizing out due to undefined behaviour, but only
after we've checked to make sure stuff->count is in the range of the
request we're parsing.

Reported-by: jes@posteo.de
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 6ca496b7c3)
2015-10-26 12:20:03 -04:00
..
dmx glxproxy: Fix an obvious thinko in QueryExtensionsString 2015-10-26 12:18:12 -04:00
kdrive Xephyr: Paint with subimage for non-Glamor & non-XSHM case 2015-10-26 12:18:36 -04:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 dri2: better checks for integer overflow in GetBuffers* 2015-10-26 12:20:03 -04:00
xnest hw/xnest: Fix build for MinGW 2015-06-03 09:05:37 -04:00
xquartz XQuartz: Cleanup formatting of DarwinEQInit that was butchered by automation a few years ago 2015-10-19 11:07:54 -07:00
xwayland xwayland: Don't (double) destroy input resources in CloseScreen 2015-10-26 11:53:11 -04:00
xwin hw/xwin/winclipboard: Link xwinclip with -lpthread 2015-06-03 09:05:37 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00