HomeFreeBSD

uhid: Check for errors from copyin() in ioctl handlers

Description

uhid: Check for errors from copyin() in ioctl handlers

This is in preparation for annotating copyin() and related functions
with __result_use_check.

Reviewed by: wulf
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43103

Details

Provenance
markjAuthored on Dec 26 2023, 1:38 AM
Reviewer
wulf
Differential Revision
D43103: uhid: Check for errors from copyin() in ioctl handlers
Parents
rGe452fa70d507: hid: Handle errors from copyin() in ioctl handlers
Branches
Unknown
Tags
Unknown