[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168563869054.2890249.18018278036948799346.b4-ty@chromium.org>
Date: Thu, 1 Jun 2023 09:58:11 -0700
From: Kees Cook <keescook@...omium.org>
To: keescook@...omium.org, hca@...ux.ibm.com
Cc: svens@...ux.ibm.com, gustavoars@...nel.org, agordeev@...ux.ibm.com,
linux@...mhuis.info, gor@...ux.ibm.com, borntraeger@...ux.ibm.com,
linux-s390@...r.kernel.org, nathan@...nel.org,
linux-hardening@...r.kernel.org, masahiroy@...nel.org,
lkft@...aro.org, joanbrugueram@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] s390/purgatory: Do not use fortified string functions
On Tue, 30 May 2023 17:34:15 -0700, Kees Cook wrote:
> With the addition of -fstrict-flex-arrays=3, struct sha256_state's
> trailing array is no longer ignored by CONFIG_FORTIFY_SOURCE:
>
> struct sha256_state {
> u32 state[SHA256_DIGEST_SIZE / 4];
> u64 count;
> u8 buf[SHA256_BLOCK_SIZE];
> };
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] s390/purgatory: Do not use fortified string functions
https://git.kernel.org/kees/c/d11f44513655
--
Kees Cook
Powered by blists - more mailing lists