From: Jes Sorensen <jes@trained-monkey.org>
To: Kinga Tanska <kinga.tanska@intel.com>, linux-raid@vger.kernel.org
Cc: colyli@suse.de, pmenzel@molgen.mpg.de
Subject: Re: [PATCH v4 1/2] Mdmonitor: Fix segfault
Date: Tue, 14 Jun 2022 10:37:20 -0400 [thread overview]
Message-ID: <e90d6d40-a956-f855-d8cd-6df42a3f9640@trained-monkey.org> (raw)
In-Reply-To: <20220606103213.12753-2-kinga.tanska@intel.com>
On 6/6/22 06:32, Kinga Tanska wrote:
> Mdadm with "--monitor" parameter requires md device
> as an argument to be monitored. If given argument is
> not a md device, error shall be returned. Previously
> it was not checked and invalid argument caused
> segmentation fault. This commit adds checking
> that devices passed to mdmonitor are md devices.
>
> Signed-off-by: Kinga Tanska <kinga.tanska@intel.com>
> ---
> Monitor.c | 10 +++++++++-
> mdadm.h | 1 +
> mdopen.c | 17 +++++++++++++++++
> 3 files changed, 27 insertions(+), 1 deletion(-)
>
Applied!
Thanks,
Jes
next prev parent reply other threads:[~2022-06-14 14:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 10:32 [PATCH v4 0/2] Mdmonitor improvements Kinga Tanska
2022-06-06 10:32 ` [PATCH v4 1/2] Mdmonitor: Fix segfault Kinga Tanska
2022-06-14 14:37 ` Jes Sorensen [this message]
2022-06-06 10:32 ` [PATCH v4 2/2] Mdmonitor: Improve logging method Kinga Tanska
2022-06-14 14:37 ` Jes Sorensen
2022-09-29 15:08 ` [PATCH v4 0/2] Mdmonitor improvements Jes Sorensen
2022-09-29 15:19 ` Coly Li
2022-09-29 15:29 ` Jes Sorensen
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=e90d6d40-a956-f855-d8cd-6df42a3f9640@trained-monkey.org \
--to=jes@trained-monkey.org \
--cc=colyli@suse.de \
--cc=kinga.tanska@intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=pmenzel@molgen.mpg.de \
/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;
as well as URLs for NNTP newsgroup(s).