[CRIU] [PATCH] mem: check existence of parent images before dumping pages (v2)
Pavel Emelyanov
xemul at parallels.com
Sat Nov 29 08:34:30 PST 2014
On 11/29/2014 12:18 AM, Andrey Vagin wrote:
> When we are doing pre-dump, we splice pages in pipes and only then open
> images and dump pages. But when we are splicing pages, we need to know
> about existence of parent images. This patch adds a new call to determin
> existence of parent images.
>
> In addition this patch fixes a following issue:
> CID 83244 (#1 of 1): Uninitialized pointer read (UNINIT)
> 14. uninit_use: Using uninitialized value xfer.parent.
>
> v2: initialize unused field of struct page_server_iov, because it sends
> in network.
>
> CID 83451 (#1 of 1): Uninitialized scalar variable (UNINIT)
> 2. uninit_use_in_call: Using uninitialized value pi. Field pi.nr_pages
> is uninitialized when calling write.
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
OK, let's try to go with this one. Restart the Jenkins :)
More information about the CRIU
mailing list