basic: make rdrand64 a little bit more MSAn-friendly

System Internals / systemd - Evgeny Vereshchagin [ya.ru] - 10 November 2018 10:58 EST

MSan doesn't instrument inline asm calls so let's help it by marking err as initialized manually.

Fixes: https://github.com/systemd/systemd/issues/10714.

313992dfb basic: make rdrand64 a little bit more MSAn-friendly
src/basic/random-util.c | 8 ++++++++
1 file changed, 8 insertions(+)

Upstream: github.com


  • Share