lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <6779218a-3084-49fb-9f19-1c8d611c235c@embeddedor.com> Date: Wed, 11 Oct 2023 19:22:07 -0600 From: "Gustavo A. R. Silva" <gustavo@...eddedor.com> To: Kees Cook <keescook@...omium.org>, "Gustavo A. R. Silva" <gustavoars@...nel.org> Cc: Dinh Nguyen <dinguyen@...nel.org>, Michael Turquette <mturquette@...libre.com>, Stephen Boyd <sboyd@...nel.org>, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH 2/2][next] clk: socfpga: agilex: Add bounds-checking coverage for struct stratix10_clock_data >> Hence, we need to move the assignments to `clk_data->clk_data.num` after >> allocations for `struct stratix10_clock_data` and before accessing the >> flexible array `clk_data->clk_data.hws`. And, as assignments for both >> `clk_data->clk_data.num` and `clk_data->base` are originally adjacent to >> each other, relocate both assignments together. >> >> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org> > > Yeah, ew. That's super tricky. Nice find. Indeed. D: > > Reviewed-by: Kees Cook <keescook@...omium.org> Thanks! -- Gustavo
Powered by blists - more mailing lists