commit | 066f950c65c206c1a1a2f72f2c80134177ea3999 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Wed Feb 24 16:11:49 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Wed Feb 24 17:26:05 2016 -0800 |
tree | aeeb55b8af96f565673b7841420003e985f56b6f | |
parent | 71f6c3231c1dce6980f97b7bc7ed7ac32faac550 [diff] |
greybus: uart: add max-payload sanity check Let's be well behaved and add a sanity check on the maximum greybus payload size to avoid underflow on the calculated buffer size. Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>