alistair23-linux/drivers/misc/vmw_vmci
Jorgen Hansen aa6467f190 VMCI: Guard against overflow in queue pair allocation
The current maximum size of a queue in a queue pair is 128 MB. If
we increase that in the future, the queue pair allocation routines
may run into overflow issues. This change adds additional checks
to guard against this.

Acked-by: Andy King <acking@vmware.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-25 11:32:15 +01:00
..
Kconfig
Makefile
vmci_context.c
vmci_context.h
vmci_datagram.c VMCI: integer overflow in vmci_datagram_dispatch() 2014-09-23 23:26:42 -07:00
vmci_datagram.h
vmci_doorbell.c
vmci_doorbell.h
vmci_driver.c VMCI: Guard against overflow in queue pair allocation 2015-03-25 11:32:15 +01:00
vmci_driver.h
vmci_event.c
vmci_event.h
vmci_guest.c PCI: Move PCI_VENDOR_ID_VMWARE to pci_ids.h 2014-09-24 11:52:09 -06:00
vmci_handle_array.c
vmci_handle_array.h
vmci_host.c VMCI: Check userland-provided datagram size 2015-03-25 11:32:15 +01:00
vmci_queue_pair.c VMCI: Guard against overflow in queue pair allocation 2015-03-25 11:32:15 +01:00
vmci_queue_pair.h
vmci_resource.c
vmci_resource.h
vmci_route.c
vmci_route.h