[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180601074804.44l66hj7lcwhpdmv@salvia>
Date: Fri, 1 Jun 2018 09:48:04 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Kees Cook <keescook@...omium.org>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
"David S. Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] netfilter: nfnetlink: Remove VLA usage
On Wed, May 30, 2018 at 12:17:56PM -0700, Kees Cook wrote:
> In the quest to remove all stack VLA usage from the kernel[1], this
> allocates the maximum size expected for all possible attrs and adds
> sanity-checks at both registration and usage to make sure nothing
> gets out of sync.
>
> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Applied, thanks Kees.
Powered by blists - more mailing lists