From: "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com>
To: Salvatore Mesoraca <s.mesoraca16@gmail.com>,
linux-kernel@vger.kernel.org
Cc: kernel-hardening@lists.openwall.com, linux-rdma@vger.kernel.org,
netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
Kees Cook <keescook@chromium.org>
Subject: Re: [PATCH 1/2] net: rds: drop VLA in rds_for_each_conn_info()
Date: Mon, 12 Mar 2018 00:06:01 -0700 [thread overview]
Message-ID: <9f197147-c050-dd70-23ea-ec880d205201@oracle.com> (raw)
In-Reply-To: <1520802470-17374-1-git-send-email-s.mesoraca16@gmail.com>
On 3/11/18 2:07 PM, Salvatore Mesoraca wrote:
> Avoid VLA[1] by using an already allocated buffer passed
> by the caller.
>
> [1] https://lkml.org/lkml/2018/3/7/621
>
> Signed-off-by: Salvatore Mesoraca <s.mesoraca16@gmail.com>
> ---
Thanks for both VLA fixes Salvatore.
FWIW, Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
next prev parent reply other threads:[~2018-03-12 7:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-11 21:07 [PATCH 1/2] net: rds: drop VLA in rds_for_each_conn_info() Salvatore Mesoraca
2018-03-11 21:07 ` [PATCH 2/2] net: rds: drop VLA in rds_walk_conn_path_info() Salvatore Mesoraca
2018-03-12 7:06 ` santosh.shilimkar
2018-03-12 19:08 ` David Miller
2018-03-12 7:06 ` santosh.shilimkar [this message]
2018-03-12 10:12 ` [PATCH 1/2] net: rds: drop VLA in rds_for_each_conn_info() Salvatore Mesoraca
2018-03-12 19:07 ` David Miller
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=9f197147-c050-dd70-23ea-ec880d205201@oracle.com \
--to=santosh.shilimkar@oracle.com \
--cc=davem@davemloft.net \
--cc=keescook@chromium.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=s.mesoraca16@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