Page MenuHomeFreeBSD

D31510.id93562.diff
No OneTemporary

D31510.id93562.diff

Index: sys/libkern/arc4random.c
===================================================================
--- sys/libkern/arc4random.c
+++ sys/libkern/arc4random.c
@@ -34,6 +34,7 @@
#include <sys/linker.h>
#include <sys/lock.h>
#include <sys/malloc.h>
+#include <sys/msan.h>
#include <sys/mutex.h>
#include <sys/random.h>
#include <sys/smp.h>
@@ -106,6 +107,8 @@
"enabled.\n");
}
+ kmsan_mark(key, sizeof(key), KMSAN_STATE_INITED);
+
/* Last ditch effort to inject something in a bad condition. */
cc = get_cyclecount();
SHA256_Init(&ctx);

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 3:23 AM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16024238
Default Alt Text
D31510.id93562.diff (564 B)

Event Timeline