cxl: fortify string fixups
Status from this message: Applied to cxl/next with commit 2 commit log fixed up.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl/fwctl: Fix __fortify_panicdrivers/ | +1 | 2 replies | |
| 2/2 | cxl/test: Fix __fortify_panictools/ | +1 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang | Alison Schofield |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] cxl: fortify string fixups
It seems nobody is running cxl_test with CONFIG_FORTIFY_SOURCE=y. A couple instances of __fortify_panic can be triggered.
Move some counted_by initialization before associated buffer / object-array access so that it does not falsely assume a buffer overflow is occurring.
Dan Williams (2):
cxl/fwctl: Fix __fortify_panic
cxl/test: Fix __fortify_panic
drivers/cxl/core/features.c | 2 +- tools/testing/cxl/test/cxl_translate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
Signature · 1 line
2.53.0