Skip to content

Commit 02cba85

Browse files
authored
Merge pull request #9135 from douzzer/20250825-linuxkm-IntelRDseed64_r-burn-buf
20250825-linuxkm-IntelRDseed64_r-burn-buf
2 parents 71581e3 + fa61187 commit 02cba85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linuxkm/module_hooks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ static WC_INLINE int IntelRDseed64_r(word64* rnd)
326326
WC_SANITIZE_DISABLE();
327327
*rnd ^= buf; /* deliberately retain any garbage passed in the dest buffer. */
328328
WC_SANITIZE_ENABLE();
329+
buf = 0;
329330
}
330331
return 0;
331332
}

0 commit comments

Comments
 (0)