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> |
||
---|---|---|
.. | ||
pci_ids | ||
Makefile.am | ||
dri2.c | ||
dri2.h | ||
dri2ext.c | ||
dri2int.h |