[PATCH 5/8] usb: sandbox: Bounds check read from buffer
Tom Rini
trini at konsulko.com
Fri Apr 29 20:03:35 CEST 2022
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 at google.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Marek Vasut <marex at denx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/66889fc3/attachment.sig>
More information about the U-Boot
mailing list