mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-20 06:28:36 -07:00
Zero length data for features doesn't make any sense so exclude that case early. This fixes the undefined behavior reported by coverity for a zero length memcpy(). Resolves CID 1564900 and 1564901 Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20241108175814.1248278-1-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
|---|---|---|
| .. | ||
| cxl-cdat.c | ||
| cxl-component-utils.c | ||
| cxl-device-utils.c | ||
| cxl-events.c | ||
| cxl-host-stubs.c | ||
| cxl-host.c | ||
| cxl-mailbox-utils.c | ||
| Kconfig | ||
| meson.build | ||
| switch-mailbox-cci.c | ||