+5
−2
Loading
This struct was having addresses taken of fields within it, and then being
returned. It is platform-specific whether this causes a move. It seems to be
working on x86_64, but causes a segfault on aarch64. Box the struct so that it
isn't moved after being initialized.
Signed-off-by:
David Brown <david.brown@linaro.org>
CRA Git | Maintained and supported by SUSTech CRA and CCSE