commit | 50456c9b5eb3fdb8c7ef997c7face8bad8cb8ea6 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Sun Apr 03 10:39:12 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 29 11:11:36 2022 -0400 |
tree | d4711e35c4775e52f435e888abf03e16a8198bc2 | |
parent | 7152f7b100bf76935d48ac7f1a97655f88538d76 [diff] |
usb: sandbox: Bounds check read from buffer The buffer is 512 bytes but read requests can be 800 bytes. Limit the request to the size of the buffer. Signed-off-by: Andrew Scull <ascull@google.com> Cc: Simon Glass <sjg@chromium.org> Cc: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>