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
devstat_selectdevs: resize dev_select only after copying data out of it Tags None Referenced Files None Subscribers None
Description
Details
|