acrn-hypervisor/devicemodel/hw/pci
Jiaqing Zhao cee2579e35 dm: virtio-gpu: fix uninitialized memory access
In virtio_gpu_cmd_create_blob() and virtio_gpu_cmd_resource_attach_
backing(), entries may be accessed before initialization. Fix it by
using calloc() to allocate it instead of malloc().

Tracked-On: #8439
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
2023-07-18 13:47:14 +08:00
..
virtio dm: virtio-gpu: fix uninitialized memory access 2023-07-18 13:47:14 +08:00
ahci.c dm: Fix uninitialized variable in AHCI 2022-06-02 19:02:06 +08:00
core.c ACRN:DM:PCI: Add the support of allocating resource for PCI ROM bar 2022-09-23 18:12:01 +08:00
gsi_sharing.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
gvt.c dm: gvt: add bound check in gvt_init_config() 2023-06-13 15:43:48 +08:00
hostbridge.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
irq.c ACRN:DM: Set the desired state to inject PCI legacy intx 2022-02-21 15:34:01 +08:00
ivshmem.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
lpc.c ACRN/DM: Initialize the igd_lpc bridge to ISA_BRIDGE to make Linux guest happy 2020-05-25 11:08:25 +08:00
npk.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
passthrough.c dm: passthrough: check romfile path length in command 2023-07-05 18:13:23 +08:00
pci_util.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
platform_gsi_info.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
ptm.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
uart.c hv: dm: Use new virtual device management ioctls 2021-07-15 11:53:54 +08:00
wdt_i6300esb.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
xhci.c devicemodel: hw: pci: xhci: Remove unnecessary condition 2022-09-07 14:08:09 +08:00