Page MenuHomeFreeBSD

urndis: avoid KMSAN report
AcceptedPublic

Authored by chs on Thu, Sep 24, 12:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 16, 3:24 AM
Unknown Object (File)
Wed, Oct 14, 7:03 PM
Unknown Object (File)
Wed, Oct 14, 3:13 PM
Unknown Object (File)
Mon, Oct 12, 1:42 PM
Unknown Object (File)
Fri, Oct 9, 9:54 PM
Unknown Object (File)
Thu, Oct 8, 8:44 AM
Unknown Object (File)
Thu, Oct 8, 4:57 AM
Unknown Object (File)
Thu, Oct 8, 3:49 AM
Subscribers
None

Details

Reviewers
imp
Summary

in urndis_attach(), keep KMSAN happy by zeroing the entire structure
that we send to the device to fetch the MAC address, rather than
only initializing the MAC address return buffer. Found with KMSAN.

Sponsored by: Netflix
Assisted-By: Claude Code - Opus 5 (1M context)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77239
Build 74122: arc lint + arc unit