On Thu, 31 Mar 2022 at 04:10, Andrew Scull <asc...@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 <asc...@google.com> > Cc: Sughosh Ganu <sughosh.g...@linaro.org> > --- > drivers/virtio/virtio_rng.c | 3 +++ > 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>