diff options
| author | Andrew Scull <[email protected]> | 2022-04-03 10:39:12 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-29 11:11:36 -0400 |
| commit | beb341ae7f43a4424ca321315a25fe9133030de2 (patch) | |
| tree | d4711e35c4775e52f435e888abf03e16a8198bc2 /include/linux | |
| parent | 62120155b67313509b673e051155075383a8a33a (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 <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Marek Vasut <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
