Jonathan Cameron c1c4d6b38b hw/cxl: Check that writes do not go beyond end of target attributes
In cmd_features_set_feature() the an offset + data size schemed
is used to allow for large features.  Ensure this does not write
beyond the end fo the buffers used to accumulate the full feature
attribute set.

Reported-by: Esifiel <esifiel@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20241101133917.27634-9-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-11-04 16:03:25 -05:00
..
2024-11-04 16:03:24 -05:00
2024-10-28 16:56:36 +00:00
2024-10-24 07:57:47 +02:00
2024-10-31 16:34:25 +00:00
2024-10-23 14:46:24 +02:00
2024-10-15 15:16:17 +01:00
2024-10-15 15:16:17 +01:00