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)
Dec 17 2024, 2:46 AM
Unknown Object (File)
Nov 29 2024, 6:43 AM
Unknown Object (File)
Nov 21 2024, 10:27 AM
Unknown Object (File)
Nov 21 2024, 10:27 AM
Unknown Object (File)
Nov 21 2024, 2:25 AM
Unknown Object (File)
Nov 15 2024, 5:41 PM
Unknown Object (File)
Nov 15 2024, 5:20 PM
Unknown Object (File)
Nov 15 2024, 3:52 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