Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 7 Mar 2018 16:03:22 -0800
From: Andrew Morton <>
To: Kees Cook <>
Cc: Tycho Andersen <>, "Tobin C. Harding" <>,
 Jonathan Corbet <>, Pantelis Antoniou
 <>, "Steven Rostedt (VMware)"
 <>, Kernel Hardening
 <>, LKML <>,
 "Gustavo A. R. Silva" <>
Subject: Re: [PATCH] vsprintf: Remove accidental VLA usage

On Wed, 7 Mar 2018 15:59:27 -0800 Kees Cook <> wrote:

> I didn't want to encourage a global macro that _lacked_ the safety
> built into the max*() family, though... thoughts for a reasonable
> approach?

I think SIMPLE_MAX() is OK.    Along with one of /* these */ things ;)

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.