Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH][next] fsinfo: fix an uninialized variable 'conn' | Date | Tue, 19 May 2020 17:15:35 +0100 |
| |
Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.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@canonical.com>
Thanks, I've folded that in.
David
| |