Date: Thu, 10 Jul 2014 11:20:24 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268490 - head/sys/kern Message-ID: <201407101120.s6ABKObo025495@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Jul 10 11:20:24 2014 New Revision: 268490 URL: http://svnweb.freebsd.org/changeset/base/268490 Log: 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 Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c ============================================================================== --- head/sys/kern/kern_proc.c Thu Jul 10 10:32:02 2014 (r268489) +++ head/sys/kern/kern_proc.c Thu Jul 10 11:20:24 2014 (r268490) @@ -2173,6 +2173,7 @@ kern_proc_vmmap_out(struct proc *p, stru if (entry->eflags & MAP_ENTRY_IS_SUB_MAP) continue; + addr = entry->end; bzero(kve, sizeof(*kve)); obj = entry->object.vm_object; if (obj != NULL) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407101120.s6ABKObo025495>