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)
Sat, Dec 21, 12:43 AM
Unknown Object (File)
Nov 26 2024, 7:07 AM
Unknown Object (File)
Oct 27 2024, 9:29 AM
Unknown Object (File)
Oct 27 2024, 9:28 AM
Unknown Object (File)
Oct 27 2024, 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
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