[CRIU] [PATCH 1/9] proc_parse: Don't setup ret = 0 early

Pavel Emelyanov xemul at parallels.com
Tue Dec 3 10:49:35 PST 2013


On 12/03/2013 07:58 PM, Cyrill Gorcunov wrote:
> 
> If we fail in xmalloc the function occasionally return
> 0 meaning that everything is fine. Don't do that, wait
> until routine complete.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  proc_parse.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 


applied


More information about the CRIU mailing list