Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173756150
D59959.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D59959.id.diff
View Options
diff --git a/sys/opencrypto/criov.c b/sys/opencrypto/criov.c
--- a/sys/opencrypto/criov.c
+++ b/sys/opencrypto/criov.c
@@ -34,6 +34,7 @@
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/mbuf.h>
+#include <sys/msan.h>
#include <sys/uio.h>
#include <sys/limits.h>
#include <sys/lock.h>
@@ -674,6 +675,8 @@
{
struct crypto_buffer *cb;
+ kmsan_mark(src, size, KMSAN_STATE_INITED);
+
if (crp->crp_obuf.cb_type != CRYPTO_BUF_NONE)
cb = &crp->crp_obuf;
else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 29, 4:14 AM (25 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39560926
Default Alt Text
D59959.id.diff (483 B)
Attached To
Mode
D59959: opencrypto: avoid false KMSAN reports
Attached
Detach File
Event Timeline
Log In to Comment