Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r2ota625.fsf@codeaurora.org>
Date: Fri, 09 Mar 2018 12:37:06 +0200
From: Kalle Valo <kvalo@...eaurora.org>
To: "Tobin C. Harding" <me@...in.cc>
Cc: kernel-hardening@...ts.openwall.com,  linux-kernel@...r.kernel.org,  netdev@...r.kernel.org,  Tycho Andersen <tycho@...ho.ws>,  Kees Cook <keescook@...omium.org>,  "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH] rsi: Remove stack VLA usage

"Tobin C. Harding" <me@...in.cc> writes:

> The kernel would like to have all stack VLA usage removed[1].  rsi uses
> a VLA based on 'blksize'.  Elsewhere in the SDIO code maximum block size
> is defined using a magic number.  We can use a pre-processor defined
> constant and declare the array to maximum size.  We add a check before
> accessing the array in case of programmer error.
>
> [1]: https://lkml.org/lkml/2018/3/7/621
>
> Signed-off-by: Tobin C. Harding <me@...in.cc>

Please CC linux-wireless list, otherwise patchwork won't see the patch
and I can't apply it.

-- 
Kalle Valo

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.