From: Dominique Martinet <asmadeus@codewreck.org>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 1/2] 9p: Uninitialized variable in v9fs_writeback_fid()
Date: Tue, 01 Dec 2020 07:20:13 +0000 [thread overview]
Message-ID: <20201201072013.GA3587@nautica> (raw)
In-Reply-To: <X8Xq7JvqR/LKzjB2@mwanda>
Dan Carpenter wrote on Mon, Nov 30, 2020:
> If v9fs_fid_lookup_with_uid() fails then "fid" is not initialized.
>
> The v9fs_fid_lookup_with_uid() can't return NULL. If it returns an
> error pointer then we can still pass that to clone_fid() and it will
> return the error pointer back again.
>
> Fixes: 6636b6dcc3db ("9p: add refcount to p9_fid struct")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks, taken both.
--
Dominique
prev parent reply other threads:[~2020-12-01 7:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 7:04 [PATCH 1/2] 9p: Uninitialized variable in v9fs_writeback_fid() Dan Carpenter
2020-12-01 7:20 ` Dominique Martinet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201201072013.GA3587@nautica \
--to=asmadeus@codewreck.org \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.