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)
commit308ee8aa1fd28102d078431a199106bc47d10128
tree16af4b237e8fd36f7dc479de8951f0468a27abf9
parent0c773962cfa605897c35dd20b910cdcba55f8a3c
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