[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <251c80d6-a2d0-4053-404f-bffd5a53313e@kernel.dk>
Date: Fri, 30 Oct 2020 09:27:21 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Qian Cai <cai@...hat.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] fs: Fix memory leaks in do_renameat2() error paths
On 10/30/20 9:24 AM, Qian Cai wrote:
> We will need to call putname() before do_renameat2() returning -EINVAL
> to avoid memory leaks.
Thanks, should mention that this isn't final by any stretch (which is
why it hasn't been posted yet), just pushed out for some exposure.
--
Jens Axboe
Powered by blists - more mailing lists