]> Git Repo - linux.git/commit
RDMA/mlx5: Fix integer overflow while resizing CQ
authorLeon Romanovsky <[email protected]>
Wed, 7 Mar 2018 13:29:09 +0000 (15:29 +0200)
committerDoug Ledford <[email protected]>
Wed, 7 Mar 2018 20:23:43 +0000 (15:23 -0500)
commitaa0de36a40f446f5a21a7c1e677b98206e242edb
tree7696e6a93e1010bd05248b4b6c9bfa57189c9c21
parent6a21dfc0d0db7b7e0acedce67ca533a6eb19283c
RDMA/mlx5: Fix integer overflow while resizing CQ

The user can provide very large cqe_size which will cause to integer
overflow as it can be seen in the following UBSAN warning:

Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/mlx5/cq.c
This page took 0.055645 seconds and 4 git commands to generate.