From owner-svn-src-head@FreeBSD.ORG Sat Jan 10 10:46:54 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF9E2C2E; Sat, 10 Jan 2015 10:46:54 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50B98681; Sat, 10 Jan 2015 10:46:54 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id ms9so18107576lab.10; Sat, 10 Jan 2015 02:46:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4Zulv4rWwl7XwVASZjpwkhY3D4Yvdpi6J4cYyvorvfc=; b=xo2Z7M2LpolKcPkemZsaO/QG+sMguqMo5br0mLalK/qZItd9M3YCo2eZ058ajWKuNw KXkykefLNfSfULoJwl5cR3qkmPn96MDDBXhxMPf8SK94wtgI0qP2fdI5C60htdq1NlZI q0nNTLad2mAItb/g0iGcMEMOhbhm4T8Rvm/n8Yr400YeqNxADU17H3uGgKKhFkjP/IST hf91PsPI+1c0H4aYKtGNaWSNNrjxbVooc3QGd42OaXMDjF8OVjfiK+Y+ulNjEW6NcX8g EI58tJkxicbjwhqR/3+FsCTqMdLnnOiIG8nuyDS8uGSKq3Vssg3+iddPmOTutptYW6Nd S1hQ== MIME-Version: 1.0 X-Received: by 10.152.7.180 with SMTP id k20mr26926627laa.4.1420886812266; Sat, 10 Jan 2015 02:46:52 -0800 (PST) Sender: jlehen@gmail.com Received: by 10.114.80.4 with HTTP; Sat, 10 Jan 2015 02:46:52 -0800 (PST) In-Reply-To: <201501100648.t0A6ma3T055037@svn.freebsd.org> References: <201501100648.t0A6ma3T055037@svn.freebsd.org> Date: Sat, 10 Jan 2015 11:46:52 +0100 X-Google-Sender-Auth: KQpabvG2EENOsWQiDz3K_-z2ZK8 Message-ID: Subject: Re: svn commit: r276904 - head/sys/kern From: Jeremie Le Hen To: Xin LI Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 10 Jan 2015 10:46:54 -0000 On Sat, Jan 10, 2015 at 7:48 AM, Xin LI wrote: > Author: delphij > Date: Sat Jan 10 06:48:35 2015 > New Revision: 276904 > URL: https://svnweb.freebsd.org/changeset/base/276904 > > Log: > Improve style and fix a possible use-after-free case introduced in r268384 > by reinitializing the 'freestate' pointer after freeing the memory. > > Obtained from: HardenedBSD (71fab80c5dd3034b71a29a61064625018671bbeb) > PR: 194525 > Submitted by: Oliver Pinter > MFC after: 2 weeks > > Modified: > head/sys/kern/kern_lockf.c Shouldn't there be a security advisory for this one? -- Jeremie Le Hen jlh@FreeBSD.org