[Bug 265148] smbfs: fix potential memory leak in smbfs_node_alloc()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Jul 2022 12:45:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265148
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj@FreeBSD.org
Resolution|--- |Not A Bug
Status|New |Closed
--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
When insmntque() or vfs_hash_insert() fail, they call vgone(), which invokes
VOP_RECLAIM, and smbfs_reclaim() frees these two buffers. So I believe the
patch in fact introduces a double free.
--
You are receiving this mail because:
You are the assignee for the bug.