Page MenuHomeFreeBSD

bhyve: verify OpRegion size
ClosedPublic

Authored by corvink on May 24 2024, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 5:18 AM
Unknown Object (File)
Fri, Feb 7, 11:56 PM
Unknown Object (File)
Tue, Feb 4, 7:04 AM
Unknown Object (File)
Sun, Feb 2, 1:25 PM
Unknown Object (File)
Jan 29 2025, 1:33 AM
Unknown Object (File)
Dec 5 2024, 6:33 PM
Unknown Object (File)
Dec 3 2024, 9:01 AM
Unknown Object (File)
Nov 22 2024, 11:49 AM
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