diff --git a/linuxkm/module_hooks.c b/linuxkm/module_hooks.c index 3a1dadcc7..4f082cb8f 100644 --- a/linuxkm/module_hooks.c +++ b/linuxkm/module_hooks.c @@ -323,6 +323,7 @@ static WC_INLINE int IntelRDseed64_r(word64* rnd) WC_SANITIZE_DISABLE(); *rnd ^= buf; /* deliberately retain any garbage passed in the dest buffer. */ WC_SANITIZE_ENABLE(); + buf = 0; } return 0; }