Re: [PATCH qemu 05/10] hw/cxl: Check the length of data requested fits in get_log()

2024-11-05 Thread Fan Ni
On Fri, Nov 01, 2024 at 01:39:12PM +, Jonathan Cameron wrote: > Checking offset + length is of no relevance when verifying the CEL > data will fit in the mailbox payload. Only the length is is relevant. s/is is/is/ > > Note that this removes a potential overflow. > > Reported-by: Esifiel > S

[PATCH qemu 05/10] hw/cxl: Check the length of data requested fits in get_log()

2024-11-01 Thread Jonathan Cameron via
Checking offset + length is of no relevance when verifying the CEL data will fit in the mailbox payload. Only the length is is relevant. Note that this removes a potential overflow. Reported-by: Esifiel Signed-off-by: Jonathan Cameron --- hw/cxl/cxl-mailbox-utils.c | 2 +- 1 file changed, 1 in