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)
Sun, Aug 9, 5:04 PM
Unknown Object (File)
Thu, Aug 6, 6:55 PM
Unknown Object (File)
Thu, Aug 6, 9:14 AM
Unknown Object (File)
Tue, Aug 4, 9:43 AM
Unknown Object (File)
Jun 17 2026, 12:20 AM
Unknown Object (File)
Jun 10 2026, 7:47 PM
Unknown Object (File)
Jun 10 2026, 6:20 PM
Unknown Object (File)
Jun 8 2026, 11:25 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