Check the register offset against the device's configuration space size in the PCIOCREAD and PCIOCWRITE ioctls. ok kettenis@ (also ok mikeb@ on an earlier version of this)
Check the register offset against the device's configuration space size in
the PCIOCREAD and PCIOCWRITE ioctls.
ok kettenis@ (also ok mikeb@ on an earlier version of this)

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars