]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: Check controlvm message payload size
authorDavid Binder <david.binder@unisys.com>
Wed, 1 Feb 2017 22:38:55 +0000 (17:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2017 12:10:48 +0000 (13:10 +0100)
commit7f59c119c5f0475c870095872238be4c799489a2
tree16af4b237e8fd36f7dc479de8951f0468a27abf9
parent7234f1b948c80ae9bfe1e241b9f7c1ad1868f5fa
staging: unisys: visorbus: Check controlvm message payload size

Checks the controlvm message's payload size before copying it into a
parser_context struct's name region.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c