Commit 61a6eb78 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Make sure shmems are zeroified

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent d5d8d920
......@@ -196,6 +196,8 @@ static int collect_shmem(int pid, struct shmem_entry *e)
return 1;
}
memset(&shmems[nr_shmems], 0, sizeof(shmems[nr_shmems]));
shmems[nr_shmems].start = e->start;
shmems[nr_shmems].end = e->end;
shmems[nr_shmems].shmid = e->shmid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment