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, Oct 27, 9:29 AM
Unknown Object (File)
Sun, Oct 27, 9:28 AM
Unknown Object (File)
Sun, Oct 27, 9:17 AM
Unknown Object (File)
Oct 4 2024, 4:41 PM
Unknown Object (File)
Oct 3 2024, 8:16 AM
Unknown Object (File)
Sep 28 2024, 3:44 AM
Unknown Object (File)
Sep 27 2024, 5:40 PM
Unknown Object (File)
Sep 26 2024, 8:25 PM
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