greybus: svc: fix missing version-request sanity checks
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 Nov 2015 17:28:01 +0000 (18:28 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 20 Nov 2015 00:07:48 +0000 (16:07 -0800)
commit55510843c1630f6067aae4c45ff2929a51f56b4d
treebbcd9844b02df36375d17d93fd458d8c91e17082
parent87f6c976f4104ae5a439ff2d78ea3fe7ce0ac280
greybus: svc: fix missing version-request sanity checks

Add missing sanity checks on version-request payload size.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c