Page MenuHomeFreeBSD

bhyve: Don't free an invalid pointer.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:39 PM.
Tags
None
Referenced Files
F102676590: D36828.id111397.diff
Fri, Nov 15, 5:41 PM
F102675580: D36828.id111248.diff
Fri, Nov 15, 5:20 PM
F102671154: D36828.diff
Fri, Nov 15, 3:52 PM
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
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