aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSebastian Sanchez <[email protected]>2016-09-25 07:41:32 -0700
committerDoug Ledford <[email protected]>2016-10-02 08:42:13 -0400
commita4309d94f71067f622a1d4e65d8d0fc4710beefd (patch)
tree5953d93bf8e82c1ffc4eb5913909a3f145fd829e /lib/mpi/mpiutil.c
parentd5cf683e627ae0c4f338bf175fe4e12584acdc0f (diff)
IB/hfi1: Do not read more than a SGE length
In certain cases, if the tail of an SGE is not 8-byte aligned, bytes beyond the end to an 8-byte alignment can be read. Change the copy routine to avoid the over-read. Instead, stop on the final whole quad-word, then read the remaining bytes. Reviewed-by: Dean Luick <[email protected]> Signed-off-by: Sebastian Sanchez <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions