mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
34bafc747c
cxl_cdat_get_length() only checks whether the DOE response size is
sufficient for the Table Access response header (1 dword), but not the
succeeding CDAT header (1 dword length plus other fields).
It thus returns whatever uninitialized memory happens to be on the stack
if a truncated DOE response with only 1 dword was received. Fix it.
Fixes:
|
||
---|---|---|
.. | ||
core.h | ||
hdm.c | ||
Makefile | ||
mbox.c | ||
memdev.c | ||
pci.c | ||
pmem.c | ||
port.c | ||
region.c | ||
regs.c | ||
suspend.c | ||
trace.c | ||
trace.h |