[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180528103508.GS6649@suse.cz>
Date: Mon, 28 May 2018 12:35:08 +0200
From: David Sterba <dsterba@...e.cz>
To: Chengguang Xu <cgxu519@....com>
Cc: linux-fsdevel@...r.kernel.org, dhowells@...hat.com,
jlayton@...hat.com, linux-kernel@...r.kernel.org,
viro@...iv.linux.org.uk
Subject: Re: [PATCH] fs/affs: fix potential memory leak in option parsing
On Tue, May 22, 2018 at 12:24:25PM +0800, Chengguang Xu wrote:
> When specifying option 'prefix' multiple times,
> current option parsing will cause memory leak.
> Hence, call kfree for previous one in this case.
>
> Signed-off-by: Chengguang Xu <cgxu519@....com>
Thanks, the patch and others that may queue up will be in my git tree
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git in a
branch with 'affs' somewhere in the name.
Powered by blists - more mailing lists