Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2015 10:30:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197246] [patch] use-after-free bug in pipe_dtor()
Message-ID:  <bug-197246-8-GQvxMGJ6Xn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197246-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197246-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197246

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kib
Date: Tue Feb  3 10:29:41 UTC 2015
New revision: 278145
URL: https://svnweb.freebsd.org/changeset/base/278145

Log:
  Fix use after free in pipe_dtor().  PIPE_NAMED flag must be tested
  before pipeclose() is called, since for !PIPE_NAMED case, when peer is
  already closed, the pipe pair memory is freed.

  Submitted by:    luke.tw@gmail.com
  PR:    197246
  Tested by:    pho
  MFC after:    3 days

Changes:
  head/sys/kern/sys_pipe.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197246-8-GQvxMGJ6Xn>