xserver/hw/xfree86/dri2
Alan Coopersmith 6ca496b7c3 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>
2015-09-24 13:47:01 -04:00
..
pci_ids dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00
Makefile.am dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00
dri2.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dri2: better checks for integer overflow in GetBuffers* 2015-09-24 13:47:01 -04:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00