
11 Apr
2022
11 Apr
'22
8:35 p.m.
On Thu, 31 Mar 2022 at 04:10, Andrew Scull ascull@google.com wrote:
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 ascull@google.com Cc: Sughosh Ganu sughosh.ganu@linaro.org
drivers/virtio/virtio_rng.c | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org