aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael J. Ruhl <michael.j.ruhl@intel.com>2017-07-24 07:46:42 -0700
committerDoug Ledford <dledford@redhat.com>2017-07-31 15:18:37 -0400
commitf13a6e5e2e0192737c3bdbdb16c5cc0181cc86e5 (patch)
treed2d4316f48919763916db9e769f58d8a35c10ad2 /tools/perf/scripts/python
parentIB/hfi1: Verify port data VLs credits on transition to Armed (diff)
downloadlinux-f13a6e5e2e0192737c3bdbdb16c5cc0181cc86e5.tar.gz
linux-f13a6e5e2e0192737c3bdbdb16c5cc0181cc86e5.zip
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 <dennis.dalessandro@intel.com> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions