clk: socfpga: Fix undefined behavior bug and add bounds-checking coverage
Status from this message: Applied to clk-next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesApplied
- v2 posting 2/22 patches 0 repliesSuperseded
- v2 posting 1/22 patches 4 repliesApplied
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 4 replies | Superseded |
Changes in v3 from the cover letter
- None, really. Just Cc [email protected] this time.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_datadrivers/ | +3 | 1 reply | |
| 2/2 | clk: socfpga: agilex: Add bounds-checking coverage for struct stratix10_clock_datadrivers/ drivers/ | +9 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2][next] clk: socfpga: 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.
Changes in v3:
- None, really. Just Cc [email protected] this time.
Changes in v2:
- Mention -Wflex-array-member-not-at-end in the changelog text.
- Link: https://lore.kernel.org/linux-hardening/[email protected]/
v1:
- Link: https://lore.kernel.org/linux-hardening/[email protected]/
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