Re: [PATCH 5/8] usb: sandbox: Bounds check read from buffer

Tom Rini
2022-04-29T18:04:21Z

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

On Sun, Apr 03, 2022 at 10:39:12AM +0000, Andrew Scull wrote:

> 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>

Applied to u-boot/master, thanks!

--
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]