[CRIU] [PATCH] page-xfer: close sockets on errror paths

Cyrill Gorcunov gorcunov at openvz.org
Fri Apr 12 12:53:53 EDT 2013


On Fri, Apr 12, 2013 at 08:46:56PM +0400, Pavel Emelyanov wrote:
> On 04/12/2013 04:14 PM, Andrey Vagin wrote:
> > CID 996195 (#1 of 1): Resource leak (RESOURCE_LEAK)
> > 10. leaked_handle: Handle variable ask going out of scope leaks the handle.
> > 
> > CID 996196 (#3 of 3): Resource leak (RESOURCE_LEAK)
> > 10. leaked_handle: Handle variable sk going out of scope leaks the handle.
> 
> Can we teach this soft not to warn us about not closed files on paths,
> that lead directly to program termination?

In general -- no, but we can mark every issue as "intended" thus coverity
won't warn about it next time.


More information about the CRIU mailing list