Unconditionally initialize addr to handle the case of changed map
timestamp while the map is unlocked. Reported by: bz Sponsored by: The FreeBSD Foundation MFC after: 6 days
This commit is contained in:
parent
4b829b3ee0
commit
479fcb4e32
@ -2173,6 +2173,7 @@ kern_proc_vmmap_out(struct proc *p, struct sbuf *sb)
|
||||
if (entry->eflags & MAP_ENTRY_IS_SUB_MAP)
|
||||
continue;
|
||||
|
||||
addr = entry->end;
|
||||
bzero(kve, sizeof(*kve));
|
||||
obj = entry->object.vm_object;
|
||||
if (obj != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user