fix F-3294: IntelRDseed64_r Stack Buffer Containing Entropy Cleared with Plain Assignment Instead of wc_ForceZero

This commit is contained in:
Daniel Pouzzner
2026-06-12 18:08:57 -05:00
parent 476cfd6c64
commit 8624bca5b5
+1
View File
@@ -472,6 +472,7 @@ static WC_INLINE int IntelRDseed64_r(word64* rnd)
WC_SANITIZE_ENABLE();
buf = 0;
}
wc_ForceZero(&buf, 0, sizeof buf);
return 0;
}