Messages in this thread | | | Date | Fri, 2 Sep 2022 15:44:33 -0700 | From | Kees Cook <> | Subject | Re: [PATCH v2 3/3] fortify: Use SIZE_MAX instead of (size_t)-1 |
| |
On Fri, Sep 02, 2022 at 01:43:51PM -0700, Kees Cook wrote: > Clean up uses of "(size_t)-1" in favor of SIZE_MAX. > > Cc: linux-hardening@vger.kernel.org > Suggested-by: Nick Desaulniers <ndesaulniers@google.com> > Signed-off-by: Kees Cook <keescook@chromium.org> > --- > include/linux/fortify-string.h | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-)
*brown paper bag*
This needs:
#include <linux/limits.h>
I will fix it locally...
-- Kees Cook
| |