mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-08 13:19:03 +00:00
This patch fix potential null pointer dereference 1, will access null pointer if 'context' is null. 2, if entry already been added to the VM when add intx entry for this vm, but parameter virt_pin is not equal to entry->virt_sid.intx_id.pin. So will saves this entry address to vpin_to_pt_entry[entry->virt_sid.intx_id.pin] and vpin_to_pt_entry[virt_pin]. In this case, this entry will be freed twice. Tracked-On: #3217 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
42 KiB
42 KiB