8218c048be
In get_physical_address, the canonical address check failed to
set TranslateFault.stage2, which resulted in an uninitialized
read from the struct when reporting the fault in x86_cpu_tlb_fill.
Adjust all error paths to use structure assignment so that the
entire struct is always initialized.
Reported-by: Daniel Hoffman <dhoff749@gmail.com>
Fixes:
|
||
---|---|---|
.. | ||
bpt_helper.c | ||
excp_helper.c | ||
fpu_helper.c | ||
meson.build | ||
misc_helper.c | ||
seg_helper.c | ||
smm_helper.c | ||
svm_helper.c | ||
tcg-cpu.c |