linux/drivers/misc/vmw_vmci
Dan Carpenter 7fb2fd4e25 vmci: type promotion bug in qp_host_get_user_memory()
The problem is that if get_user_pages_fast() fails and returns a
negative error code, it gets type promoted to a high positive value and
treated as a success.

Fixes: 06164d2b72 ("VMCI: queue pairs implementation.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-07 17:32:40 +02:00
..
Kconfig
Makefile
vmci_context.c
vmci_context.h
vmci_datagram.c
vmci_datagram.h
vmci_doorbell.c
vmci_doorbell.h
vmci_driver.c
vmci_driver.h
vmci_event.c
vmci_event.h
vmci_guest.c
vmci_handle_array.c
vmci_handle_array.h
vmci_host.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
vmci_queue_pair.c vmci: type promotion bug in qp_host_get_user_memory() 2018-07-07 17:32:40 +02:00
vmci_queue_pair.h
vmci_resource.c
vmci_resource.h
vmci_route.c
vmci_route.h