Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2022 19:40:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262515] Missing filecaps_free() in many places
Message-ID:  <bug-262515-227-zdDo1vkZG0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262515-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262515

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org,
                   |                            |mjg@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Good find.  I'll attach a program which demonstrates the leak.

I'm not sure how to fix it.  Certainly it's not practical to patch all namei()
users.  But most of them don't inspect caps in the first place, so perhaps they
should be copied on demand...?

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262515-227-zdDo1vkZG0>