summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/quirks.c
diff options
context:
space:
mode:
authorJorgen Hansen <jhansen@vmware.com>2015-03-02 17:19:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 11:32:15 +0100
commitaa6467f190d32b263f7144239c89c63c922d9ff8 (patch)
tree31c580c58722854adb00b2bd991f8ca17913869c /drivers/pnp/quirks.c
parentVMCI: Check userland-provided datagram size (diff)
downloadlinux-aa6467f190d32b263f7144239c89c63c922d9ff8.tar.xz
linux-aa6467f190d32b263f7144239c89c63c922d9ff8.zip
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>
Diffstat (limited to 'drivers/pnp/quirks.c')
0 files changed, 0 insertions, 0 deletions