From: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
To: dm-devel@redhat.com
Subject: NULL pointer issue in dm-mpath.c
Date: Thu, 03 Jan 2008 10:07:53 -0500 [thread overview]
Message-ID: <477CFA49.3040001@hp.com> (raw)
While looking at this file, I noticed:
if (!pgpath->pg->ps.type) {
DMWARN("Reinstate path not supported by path selector %s",
pgpath->pg->ps.type->name);
r = -EINVAL;
goto out;
}
The DMWARN will end up following a NULL pointer (as pgpath->pg->ps.type
is NULL). I have no idea how to fix this, nor if its really possible to
hit this error case, nonetheless I thought I'd point this out. (As maybe
someone out there would know how to correctly patch this.)
Regards,
Alan D. Brunelle
HP Open Source & Linux Organization / Scalability & Performance Group
reply other threads:[~2008-01-03 15:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=477CFA49.3040001@hp.com \
--to=alan.brunelle@hp.com \
--cc=dm-devel@redhat.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 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.