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

Re: [Xen-devel] [RFC v2 3/9] libxl_qmp: Fix use of DEBUG_RECEIVED



On Mon, Apr 16, 2018 at 06:32:21PM +0100, Anthony PERARD wrote:
> This patch fix complilation error with #define DEBUG_RECEIVED of the
> macro DEBUG_REPORT_RECEIVED.
> 
>   error: field precision specifier ‘.*’ expects argument of type ‘int’, but 
> argument 9 has type ‘ssize_t {aka long int}’
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

There is no risk of truncation here because prior checks have made sure
rd can't be larger than 4K+1.

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.