Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Mar 2018 12:33:33 +0100
From: David Sterba <>
To: Kees Cook <>
Cc: Andrew Morton <>,
	"David S. Miller" <>,,
	Chris Mason <>, Josef Bacik <>,
	Sergey Senozhatsky <>,, Peter Zijlstra <>,
	Randy Dunlap <>,
	Ingo Molnar <>,
	Pantelis Antoniou <>,
	Thomas Gleixner <>,
	Hideaki YOSHIFUJI <>,
	Andy Shevchenko <>,,,
	Ian Abbott <>,
	Alexey Kuznetsov <>,
	Josh Poimboeuf <>,
	Masahiro Yamada <>,
	Petr Mladek <>, Borislav Petkov <>,
	"Tobin C. Harding" <>,,,
Subject: Re: [PATCH 3/3] btrfs: tree-checker: Avoid accidental stack VLA

On Wed, Mar 07, 2018 at 07:30:47PM -0800, Kees Cook wrote:
> In the quest to remove all stack VLAs from the kernel[1], this refactors
> the stack array size calculation to avoid using max(), which makes the
> compiler think the size isn't fixed.
> [1]
> Signed-off-by: Kees Cook <>

Acked-by: David Sterba <>

for whatever name you decide for the max macro.

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.