Commit c48b5d11 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

proc_parse: don't read an uninitialized pointer

CID 161665 (#1 of 1): Uninitialized pointer read (UNINIT)
14. uninit_use: Using uninitialized value vma.
Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 549d71f3
......@@ -423,7 +423,7 @@ int parse_self_maps_lite(struct vm_area_list *vms)
prev = vma;
}
pr_debug("Parsed %"PRIx64"-%"PRIx64" vma\n", vma->e->start, vma->e->end);
pr_debug("Parsed %"PRIx64"-%"PRIx64" vma\n", prev->e->start, prev->e->end);
}
fclose(maps);
......
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