[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1514050.1589904935@warthog.procyon.org.uk>
Date: Tue, 19 May 2020 17:15:35 +0100
From: David Howells <dhowells@...hat.com>
To: Colin King <colin.king@...onical.com>
Cc: dhowells@...hat.com, Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] fsinfo: fix an uninialized variable 'conn'
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Variable conn is not initialized and can potentially contain
> garbage causing a false -EPERM return on the !conn check.
> Fix this by initializing it to false.
>
> Addresses-Coverity: ("Uninitialized scalar variable")
> Fixes: f2494de388bd ("fsinfo: Add an attribute that lists all the visible mounts in a namespace")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks, I've folded that in.
David
Powered by blists - more mailing lists