diff options
| author | Michael J. Ruhl <[email protected]> | 2017-07-24 07:46:42 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-07-31 15:18:37 -0400 |
| commit | f13a6e5e2e0192737c3bdbdb16c5cc0181cc86e5 (patch) | |
| tree | d2d4316f48919763916db9e769f58d8a35c10ad2 /tools/perf/scripts/python | |
| parent | 5e2d6764a729bf8d43894b0368b0ae11a19485c0 (diff) | |
IB/hfi1: Split copy_to_user data copy for better security
A copy_to_user() call assumes that two members of a data structure
are sequential. Since this may not always be true, separate the copies
to ensure a safe copy.
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions