acrn-hypervisor/hypervisor/common
Yonghua Huang 0e47f0a8f9 hv: fix potential NULL pointer reference in hc_assgin_ptdev
this patch validates input 'vdev->pdev' before
 reference to avoid potenial hypervisor crash.

[v2] update:
 Combine condition check for 'vdev' and 'vdev->pdev'

Tracked-On: #4334
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
2020-01-08 11:54:49 +08:00
..
event.c hv: sched: simple event implemention 2020-01-07 11:23:32 +08:00
hv_main.c hv: HLT emulation in hypervisor 2020-01-07 11:23:32 +08:00
hypercall.c hv: fix potential NULL pointer reference in hc_assgin_ptdev 2020-01-08 11:54:49 +08:00
ptdev.c hv: ptdev: move softirq_dev_entry_list from vm structure to per_cpu region 2019-09-16 09:36:52 +08:00
sched_iorr.c hv: sched_iorr: add some interfaces implementation of sched_iorr 2019-12-11 09:31:39 +08:00
sched_noop.c hv: sched: decouple scheduler from schedule framework 2019-10-25 13:00:21 +08:00
schedule.c HV: Remove INIT signal notification related code 2019-12-17 09:45:52 +08:00
softirq.c softirq: move softirq from hv_main to interrupt context 2019-07-22 09:55:06 +08:00
trusty_hypercall.c hv:remove redundant memset in some cases 2019-09-24 09:02:05 +08:00
vm_load.c hv:refine 'uint64_t' string print format in comm moudle 2019-11-09 11:42:38 +08:00