HomeFreeBSD

devstat_selectdevs: resize dev_select only after copying data out of it

Description

devstat_selectdevs: resize dev_select only after copying data out of it

The resizing could be a downsizing so some data would be lost and we
could attempt to read past the end of the new memory allocation.

MFC after: 2 weeks
Sponsored by: Panzura

Details

Provenance
avgAuthored on
Parents
rS355324: Import DTS files for riscv from Linux 5.4
Branches
Unknown
Tags
Unknown