On Thu, 31 Mar 2022 at 04:10, Andrew Scull <[email protected]> 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 <[email protected]>
> Cc: Sughosh Ganu <[email protected]>
> ---
>  drivers/virtio/virtio_rng.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to