mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-02 23:23:49 +00:00
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>