2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 12:57:57 +00:00

restore: don't call free_mappings for an uninitialized list

vma_area_list@entry=0x818) at criu/cr-dump.c:107
107             list_for_each_entry_safe(vma_area, p, &vma_area_list->h, list)

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2017-10-21 00:01:13 +03:00
parent a1e880aff6
commit e11805ec79

View File

@ -3429,7 +3429,7 @@ static int sigreturn_restore(pid_t pid, struct task_restore_args *task_args, uns
if (current->parent == NULL) {
/* Wait when all tasks restored all files */
if (restore_wait_other_tasks())
goto err;
goto err_nv;
}
/*