From: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
To: Xiao Ni <xni@redhat.com>
Cc: pmenzel@molgen.mpg.de, linux-raid@vger.kernel.org
Subject: Re: [PATCH 1/1] mdadm/platform-intel: buffer overflow detected
Date: Tue, 28 May 2024 17:16:28 +0200 [thread overview]
Message-ID: <20240528171628.00006c80@linux.intel.com> (raw)
In-Reply-To: <20240528084439.23705-1-xni@redhat.com>
On Tue, 28 May 2024 16:44:39 +0800
Xiao Ni <xni@redhat.com> wrote:
> mdadm -CR /dev/md0 -l1 -n2 /dev/nvme0n1 /dev/nvme2n1
> *** buffer overflow detected ***: terminated
> Aborted (core dumped)
>
> It doesn't happen 100% and it depends on the building environment.
> It can be fixed by replacing sprintf with snprintf.
>
> Fixes: d835518b6b53 ('imsm: nvme multipath support')
> Reported-by: Guang Wu <guazhang@redhat.com>
> Signed-off-by: Xiao Ni <xni@redhat.com>
> ---
Applied!
Thanks,
Mariusz
prev parent reply other threads:[~2024-05-28 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 8:44 [PATCH 1/1] mdadm/platform-intel: buffer overflow detected Xiao Ni
2024-05-28 15:16 ` Mariusz Tkaczyk [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=20240528171628.00006c80@linux.intel.com \
--to=mariusz.tkaczyk@linux.intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=pmenzel@molgen.mpg.de \
--cc=xni@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 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).