On Thu, Oct 15, 2020 at 09:59:57AM +0200, Mauro Matteo Cascella wrote:
> Check the value of mps to avoid potential divide-by-zero later in the 
> function.
> Since HCCHAR_MPS is guest controllable, this prevents a malicious/buggy guest
> from crashing the QEMU process on the host.
> 
> Signed-off-by: Mauro Matteo Cascella <[email protected]>
> Reviewed-by: Paul Zimmerman <[email protected]>
> Reported-by: Gaoning Pan <[email protected]>
> Reported-by: Xingwei Lin <[email protected]>
> ---
> Moved check earlier in the function and added "Reviewed-by" line.

Added to usb queue.

thanks,
  Gerd


Reply via email to