[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/libxl: Fix two errors with libxl_userdata_unlink()
On Wed, Sep 24, 2014 at 12:39:45PM +0100, Andrew Cooper wrote: > Coverity-ID: 1240235 > * filename may be NULL, at which point calling unlink() would be unwise. > > Coverity-ID: 1240237 > * Initalise rc to 0 to avoid returning stack junk in the success case. > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> > CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> > CC: Wei Liu <wei.liu2@xxxxxxxxxx> Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx> Thanks for fixing this up. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |