[CRIU] [PATCH] dump: use vmas pointer
Pavel Emelyanov
xemul at parallels.com
Wed Oct 2 02:00:09 PDT 2013
On 10/02/2013 04:39 PM, Ruslan Kuprieiev wrote:
> Hi!
>
> When dump/pre-dump failed before initializing vmas, free_mappings(&vmas)
> is called and this cause segfault. So lets use vmas pointer, initialize
> it with NULL, xmalloc where needed and check for NULL in free_mappings().
Just initialize the vma-list on the stack.
> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
>
More information about the CRIU
mailing list