Andrew Scull beb341ae7f 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>
2022-04-29 11:11:36 -04:00
..
2022-04-22 10:35:14 +02:00
2022-04-25 10:00:04 -04:00
2022-01-19 18:11:34 +01:00
2021-09-27 21:38:34 -04:00