[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=W0=DwZq_SGAHTnbvofPPKUgSOXhJtHDj0CReu5d17hw@mail.gmail.com>
Date: Wed, 14 Mar 2018 02:38:45 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Arend van Spriel <arend.vanspriel@...adcom.com>,
Andreas Christoforou <andreaschristofo@...il.com>,
Kernel Hardening <kernel-hardening@...ts.openwall.com>,
QCA ath9k Development <ath9k-devel@....qualcomm.com>,
Kalle Valo <kvalo@...eaurora.org>,
linux-wireless <linux-wireless@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers: net: wireless: ath: ath9: dfs: remove VLA usage
On Sun, Mar 11, 2018 at 12:12 AM, Kees Cook <keescook@...omium.org> wrote:
>
> The problem is that it's not a "constant expression", so the compiler
> frontend still yells about it under -Wvla. I would characterize this
> mainly as a fix for "accidental VLA" or "misdetected VLA" or something
> like that. AIUI, there really isn't a functional change here.
C++11's constexpr variables would be nice to have.
Cheers,
Miguel
Powered by blists - more mailing lists