Page MenuHomeFreeBSD

bhyve: Don't free an invalid pointer.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 7:35 AM
Unknown Object (File)
Thu, Nov 7, 1:49 AM
Unknown Object (File)
Fri, Oct 18, 11:48 AM
Unknown Object (File)
Oct 16 2024, 9:46 AM
Unknown Object (File)
Oct 13 2024, 2:46 PM
Unknown Object (File)
Oct 13 2024, 4:00 AM
Unknown Object (File)
Oct 11 2024, 6:13 PM
Unknown Object (File)
Oct 10 2024, 2:16 AM
Subscribers

Details

Summary

The netmap-specific data stored at be->opaque is freed by the caller
on error as part of freeing be.

Reported by: GCC -Wfree-nonheap-object

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable