From: Christoph Hellwig <hch@infradead.org>
To: Zixuan Fu <r33s3n6@gmail.com>
Cc: djwong@kernel.org, linux-xfs@vger.kernel.org,
linux-kernel@vger.kernel.org, baijiaju1990@gmail.com,
TOTE Robot <oslab@tsinghua.edu.cn>
Subject: Re: [PATCH] fs: xfs: fix possible NULL pointer dereference in xfs_rw_bdev()
Date: Mon, 11 Apr 2022 07:55:12 -0700 [thread overview]
Message-ID: <YlRBULlBDO7LnbVi@infradead.org> (raw)
In-Reply-To: <20220411113145.797121-1-r33s3n6@gmail.com>
On Mon, Apr 11, 2022 at 07:31:45PM +0800, Zixuan Fu wrote:
> In our fault-injection testing, bio_alloc() may fail with low memory and
> return NULL.
Well, in that case your fault injection seems to be completely broken.
Please take a closer look at how bio_alloc is implemented and
documented.
prev parent reply other threads:[~2022-04-11 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 11:31 [PATCH] fs: xfs: fix possible NULL pointer dereference in xfs_rw_bdev() Zixuan Fu
2022-04-11 14:55 ` Christoph Hellwig [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=YlRBULlBDO7LnbVi@infradead.org \
--to=hch@infradead.org \
--cc=baijiaju1990@gmail.com \
--cc=djwong@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=oslab@tsinghua.edu.cn \
--cc=r33s3n6@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox