cloud-hypervisor/hypervisor
Wei Liu 57cc8bc6fe hypervisor: aarch64: remove undefined behaviour in offset__of
The variable tmp was never initialized. Calling assume_init when the
content is not yet initialized causes immediate undefined behaviour.

We also cannot create any intermediate references because they will be
subject to the same requirements for references -- the referred object
must be valid.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
2021-11-16 10:13:09 +08:00
..
src hypervisor: aarch64: remove undefined behaviour in offset__of 2021-11-16 10:13:09 +08:00
Cargo.toml build: bump serde_json from 1.0.69 to 1.0.70 2021-11-16 00:49:38 +00:00