From: Andrew Morton <akpm@linux-foundation.org>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: SeongJae Park <sj@kernel.org>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-mm@kvack.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/damon/sysfs: Fix an array out-of-bounds read error due
Date: Wed, 2 Mar 2022 12:53:29 -0800 [thread overview]
Message-ID: <20220302125329.65bc251ab9c2df865146a5ae@linux-foundation.org> (raw)
In-Reply-To: <20220302180252.1099406-1-colin.i.king@gmail.com>
On Wed, 2 Mar 2022 18:02:52 +0000 Colin Ian King <colin.i.king@gmail.com> wrote:
> There is an off-by-one error in the upper limit to a for-loop that
> causes an out-of-bounds read error on the array
> damon_sysfs_wmark_metric_strs. Fix the comparison by replacing
> the <= operator with <.
>
Thanks, we already have
https://lkml.kernel.org/r/20220301185619.2904-1-sj@kernel.org
prev parent reply other threads:[~2022-03-02 20:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 18:02 Colin Ian King
2022-03-02 20:53 ` Andrew Morton [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=20220302125329.65bc251ab9c2df865146a5ae@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=colin.i.king@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=sfr@canb.auug.org.au \
--cc=sj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox