HomeFreeBSD

DRM2: fix off-by-one overflow in ioctl processing

Description

DRM2: fix off-by-one overflow in ioctl processing

Call to the driver-specific ioctl used to process ioctl number
that will lead to the out-of-bounds access to the ioctl handler
array.

PR: 193367
Approved by: kib
MFC of: r275209 (original commit by rea)

Details

Provenance
dumbbellAuthored on
Parents
rS282140: drm: Import Linux commit b7ea85a4fed37835eec78a7be3039c8dc22b8178
Branches
Unknown
Tags
Unknown