qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-s390x] [PATCH v3 10/25] usb-redir: Verify usbredirparser_write


From: Gerd Hoffmann
Subject: Re: [qemu-s390x] [PATCH v3 10/25] usb-redir: Verify usbredirparser_write get called with positive count
Date: Wed, 20 Feb 2019 08:32:56 +0100
User-agent: NeoMutt/20180716

On Wed, Feb 20, 2019 at 02:02:17AM +0100, Philippe Mathieu-Daudé wrote:
> The usbredirparser_write handler should never be called with a negative
> size payload, return an error if this is not the case.
> Now that we are sure the 'count' value is positive, make it obvious by
> casting it to a size_t.

Reviewed-by: Gerd Hoffmann <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]