[PATCH 0/2] EDAC: reserve space for debugfs input terminators

Jiale Yao yaojiale02 at 163.com
Wed Oct 21 03:46:46 PDT 2026


The Versal and ZynqMP EDAC debugfs injection handlers allow the copied
input to fill a six-byte stack buffer and then append a NUL byte one byte
beyond it.

Limit each copy to five bytes so the existing terminator write remains
inside the buffer.

Jiale Yao (2):
  EDAC/versal: reserve space for injection input terminator
  EDAC/zynqmp: reserve space for injection input terminator

 drivers/edac/versal_edac.c | 2 +-
 drivers/edac/zynqmp_edac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list