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

Cyrill Gorcunov gorcunov at openvz.org
Tue Dec 3 07:58:07 PST 2013


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(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-proc_parse-Don-t-setup-ret-0-early.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20131203/6112c414/attachment.bin>


More information about the CRIU mailing list