mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
restore: Iterate tgt vmas by number, not by terminating point
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -2000,7 +2000,7 @@ static VmaEntry *vma_list_remap(void *addr, unsigned long len, struct vm_area_li
|
||||
vma++;
|
||||
}
|
||||
|
||||
vma->start = 0;
|
||||
vma->start = 1;
|
||||
free_mappings(vmas);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user