Page MenuHomeFreeBSD

netlink: do not memcpy 0 bytes from a NULL pointer
AbandonedPublic

Authored by emaste on Mar 6 2023, 4:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 10, 7:47 PM
Unknown Object (File)
Wed, Jun 10, 6:20 PM
Unknown Object (File)
Mon, Jun 8, 11:25 AM
Unknown Object (File)
May 15 2026, 6:55 PM
Unknown Object (File)
May 15 2026, 6:42 PM
Unknown Object (File)
May 9 2026, 9:30 AM
Unknown Object (File)
May 8 2026, 6:16 PM
Unknown Object (File)
Apr 25 2026, 7:54 AM
Subscribers

Details

Summary
Although it works in practice it is UB, and might break after a future
compiler update.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped