From owner-svn-src-head@FreeBSD.ORG Thu Jul 10 11:20:24 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2B97715; Thu, 10 Jul 2014 11:20:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0A182F28; Thu, 10 Jul 2014 11:20:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ABKOC5025496; Thu, 10 Jul 2014 11:20:24 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6ABKObo025495; Thu, 10 Jul 2014 11:20:24 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201407101120.s6ABKObo025495@svn.freebsd.org> From: Konstantin Belousov Date: Thu, 10 Jul 2014 11:20:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268490 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 11:20:24 -0000 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) {