During Baptiste Le Duc's work on adding CI stuff for RISC-V several UBSAN
issues were found.
This patch series resolves the found issues.
CI tests: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/2551001500
---
Changes in v2:
- Address comments from ML.
---
Oleksii Kurochko (3):
xen/riscv: fix switch_stack_and_jump() for range beyond 1M
xen/domain: fix UBSAN null pointer dereference of d->shared_info
libfdt: fix UBSAN null pointer in fdt_property()
xen/arch/riscv/include/asm/current.h | 10 +++++-----
xen/common/domain.c | 2 +-
xen/common/event_fifo.c | 3 ++-
xen/common/libfdt/fdt_sw.c | 3 ++-
xen/common/time.c | 3 +++
5 files changed, 13 insertions(+), 8 deletions(-)
--
2.54.0