Page MenuHomeFreeBSD

bhyve: verify OpRegion size
ClosedPublic

Authored by corvink on May 24 2024, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 7, 10:53 PM
Unknown Object (File)
Thu, Oct 30, 5:21 PM
Unknown Object (File)
Wed, Oct 29, 8:52 AM
Unknown Object (File)
Wed, Oct 29, 7:30 AM
Unknown Object (File)
Wed, Oct 29, 7:26 AM
Unknown Object (File)
Wed, Oct 29, 7:16 AM
Unknown Object (File)
Sun, Oct 26, 8:04 AM
Unknown Object (File)
Sat, Oct 25, 11:53 PM
Subscribers

Details

Summary

If the OpRegion size doesn't match the size of our igd_opregion struct, it's
using a different layout than we're expecting. To avoid strange issues, we
should exit hard. If we see any devices in the field with a different OpRegion
size, we can analyse it and fix it accordingly.

Diff Detail

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