Skip to content
Commit 74b5c297 authored by Andy King's avatar Andy King Committed by Greg Kroah-Hartman
Browse files

VMCI: Check userland-provided datagram size



Ensure that the size filled in by userland in the datagram header
matches the size of the buffer passed down in the IOCTL. Note that we
account for the size of the header itself in the check.

Acked-by: default avatarJorgen Hansen <jhansen@vmware.com>
Acked-by: default avatarAditya Sarwade <asarwade@vmware.com>
Signed-off-by: default avatarAndy King <acking@vmware.com>
Reported-by: default avatarDavid Ramos <daramos@stanford.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf136121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment