[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170262781699.2920569.9996465840798538664.b4-ty@kernel.org>
Date: Fri, 15 Dec 2023 16:17:20 +0800
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: Benson Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org, keescook@...omium.org
Subject: Re: [PATCH][next] platform/chrome: Fix -Warray-bounds warnings
On Wed, 29 Mar 2023 19:54:02 -0600, Gustavo A. R. Silva wrote:
> GCC-13 (and Clang) does not like having a partially allocated object,
> since it cannot reason about it for bounds checking.
>
> Notice that the compiler is legitimately complaining about accessing
> an object (params, in this case) for which not enough memory was
> allocated.
>
> [...]
Applied, thanks!
[1/1] platform/chrome: Fix -Warray-bounds warnings
commit: 59a9ccf19ee03179faf047822bbec76cac7467a4
Powered by blists - more mailing lists