[Xen-devel] [PATCH] libxl: add initializers for libxl__domid_history

2020-02-26 Thread Paul Durrant
This patch fixes Coverity issue CID 1459006 (Insecure data handling (INTEGER_OVERFLOW)). The problem is that the error paths for libxl__mark_domid_recent() and libxl__is_domid_recent() check the 'f' field in struct libxl__domid_history when it may not have been initialized. Signed-off-by: Paul Du

Re: [Xen-devel] [PATCH] libxl: add initializers for libxl__domid_history

2020-02-26 Thread Wei Liu
On Wed, Feb 26, 2020 at 01:12:13PM +, Paul Durrant wrote: > This patch fixes Coverity issue CID 1459006 (Insecure data handling > (INTEGER_OVERFLOW)). > > The problem is that the error paths for libxl__mark_domid_recent() and > libxl__is_domid_recent() check the 'f' field in struct libxl__domi