[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 5/8] tools/xenalyze: Fix check for error return value
On Fri, Feb 26, 2016 at 12:29:02PM +0000, Ian Jackson wrote: > George Dunlap writes ("[PATCH 5/8] tools/xenalyze: Fix check for error return > value"): > > fdopen returns NULL on failure, not a negative integer. > > > > CID 1306863 > > CID 1306858 > > > > Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxx> > > --- > > Strangely, coverity counted this as two bugs: one for comparing a > > pointer with a negative integer, one for the comparison never possibly > > being true (thus making the if condition dead code). > > Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> applied > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |