[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C917C4B9-8BF5-42BB-A396-E799E5A0294B@linuxhacker.ru>
Date: Fri, 31 Jan 2014 16:50:33 -0500
From: Oleg Drokin <green@...uxhacker.ru>
To: Jeff Layton <jlayton@...hat.com>
Cc: Al Viro <viro@...IV.linux.org.uk>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] Fix mountpoint reference leakage in linkat
> Maybe something like this (untested) instead?
I think it's just safe to move the out label up along with the old_path freeing.
In all error cases the retry and delegation breaking logic could not be triggered
anyway.
Something like this (lightly tested):
Download attachment "0001-vfs-Fix-mountpoint-reference-leakage-in-linkat.patch" of type "application/octet-stream" (1295 bytes)
Powered by blists - more mailing lists