HomeFreeBSD

MFC: r258387,r258425
rS258554Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC: r258387,r258425
Split raw reading/programming into smaller chunks to avoid allocating too
big chunk of kernel memory. Validate size of data. Add error handling to
avoid calling copyout() when data has not been read correctly. Also MFC of
change r258425 which fixes problem introduced by r258387.

Reviewed by: zbb
Reported by: x90c <geinblues@gmail.com>
Approved by: re

Details

Provenance
gberAuthored on
Parents
rS258553: drm: Fix build with gcc, broken with r258549
Branches
Unknown
Tags
Unknown