Skip to content

cxl: fortify string fixups

Dan Williams linux-cxl 1 version Applied

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

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2cxl/fwctl: Fix __fortify_panicdrivers/cxl/core/features.c+1 -12 replies
2/2cxl/test: Fix __fortify_panictools/testing/cxl/test/cxl_translate.c+1 -12 replies

Reviews trailers per patch

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

PatchDave JiangAlison Schofield
1/2R-b R-b
2/2R-b R-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] 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