summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2016-03-14 21:05:51 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-08 01:30:16 +0300
commit73457165d71d5ce0e41c0adb7bfa484702c36248 (patch)
tree8ba0d1332c62ad23dd21d6ba150107d3e7f90031 /drivers/uwb
parent3775b814d5380a25ed89b881d845f79f81bc5547 (diff)
downloadlinux-73457165d71d5ce0e41c0adb7bfa484702c36248.tar.xz
ixgbe: Correct length check for round up
The function ixgbe_host_interface_command actually uses a multiple of word sized buffer to do its business, but only checks against the actual length passed in. This means that on read operations it could be possible to modify locations beyond the length passed in. Change the check to round up in the same way, just to avoid any possible hazard. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions