Skip to content

Fix undefined behavior bug and add bounds-checking coverage

Gustavo A. R. Silva linux-hardening lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_datadrivers/clk/socfpga/stratix10-clk.h+3 -12 replies
2/2clk: socfpga: agilex: Add bounds-checking coverage for struct stratix10_clock_datadrivers/clk/socfpga/clk-agilex.c drivers/clk/socfpga/clk-s10.c+9 -92 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKees Cook
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2][next] Fix undefined behavior bug and add bounds-checking coverage

This series aims to fix an undefined behavior bug in struct stratix10_clock_data and add bounds-checking coverage at run-time for flexible-array member hws in struct clk_hw_onecell_data when accessed throught struct stratix10_clock_data.

Gustavo A. R. Silva (2):
clk: socfpga: Fix undefined behavior bug in struct
stratix10_clock_data
clk: socfpga: agilex: Add bounds-checking coverage for struct
stratix10_clock_data

 drivers/clk/socfpga/clk-agilex.c    | 12 ++++++------
 drivers/clk/socfpga/clk-s10.c       |  6 +++---
 drivers/clk/socfpga/stratix10-clk.h |  4 +++-
 3 files changed, 12 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1