mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue