diff options
| author | Andrew Scull <[email protected]> | 2022-05-16 10:41:39 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-08 09:24:04 -0400 |
| commit | 43937a4f5e411b3a82014fe0fa78ef4de90b11c2 (patch) | |
| tree | b5cdedd90ad28a3cc937bd335b5a9e93748b83df /doc/develop | |
| parent | 420b3e51f4f64ebc6ab88f751f116e634894b231 (diff) | |
virtio: rng: Check length before copying
Check the length of data written by the device is consistent with the
size of the buffers to avoid out-of-bounds memory accesses in case
values aren't consistent.
Signed-off-by: Andrew Scull <[email protected]>
Cc: Sughosh Ganu <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
